Inspired by Sindre Sorhus electron-boilerplate
Boilerplate with (E)lectron (R)eact and (R)edux-devtools.
When you are ready to deploy your app, first change path to /index.html
(in root folder) file in index.js
.
First watch files
npm run watch
Start app
npm start
If you get ENOENT after renaming folder
npm rebuild
Run tests
npm test
Build sources with webpack
npm run scripts
Build to all platforms. Results goes to dist/
folder
npm run build
Make tar.gz (with symbolic links ?)
tar -zcvf my-app.tar.gz directory-name -h