npm run release
-
Create the
react
bundle inside thebuild
directory,- have to run this first because it will override everything in the
build
directory; - create
index.html
&static/
react-scripts build
- have to run this first because it will override everything in the
-
Create
build/electron
directory and the entry point filebundle.js
webpack -p --config ./config/webpack.dev.config.js
-
Now you can build the os-specific executable
electron-builder
-
.env
- environment variables use by
react-script
to generate the correct content forbuild/index.html
- environment variables use by
-
electron-builder.yml
- configuration for electron-builder
-
package.json
- dependencies and scripts