Boilerplate to make NW.js and Webpack work in synergy.
Install the required dependencies by typing npm install
or yarn
.
Start the test server by running npm start
or yarn start
.
To make the code production-ready, run npm run build
or yarn build
. Then build the app in the flavor you need (see list below).
start
: Starts development mode and opens an app window connected to http://localhost:4000nw
: Opens a NW.js window pointed at./docs
build
: Builds the static assets to be used by NW.jsbuild:icons
: Creates an iconset for all systems from a single imagebuild:nw:mac
: Builds a mac executablebuild:nw:linux
: Builds a linux executablebuild:nw:win
: Builds a windows executablebuild:nw:all
: Builds executables for all systems
- Document
nwjc
usage - Improve NW.js version and dependency selection