^ This. Setup your .npmignore before publishing!<p>Also, before packaging your Electron app use something like gulp to exclude problematic files like .md and anything else unnecessary.<p>There are other common tools like browserify that can still be leveraged.