Ignore dist file and node dir
Build JS dist file on publish
Inject window as global