Electron, React, Webpack -- Modern and up-to-date, with a handful of quality of life features included
Production builds babel-minify is used, and ES2015/ES6 transpilation is provided -- As modern node and chromium versions support 99%+ of the ES6 feature set, I feel those steps are unnecessary.
- Run
npm install
- Run
npm run dev
to start webpack-dev-server. Electron will launch automatically after compilation.
- Run
npm run prod
to open application with production setup. Webpack will compile and output your bundle tobuild/bundle.js
. This will also cause electron to load off of thebuild/
build instead of looking for the webpack-dev-server instance. Electron will launch automatically after compilation.
- Run
npm run package
to create debian package (*.deb
) installer from production build of the application. Package will be placed indist/installers/
directory.