A project-blueprint for quickly building NWJS-based applications using Grunt, LESS, Pug and Knockout (or any other JS libraries). Based on NodeJS and Node-Webkit. Compileable to a standalone program (per default Win/64), but should easily be adjustable for Linux/Mac.
$ npm install
# Optionally: start watchers first to auto-rebuild CSS/HTML when .less or .pug files are modified
# (CSS changes will become visible immediately without restarting the app if `liveReload.pug` is included)
$ grunt watchLessAndPug
$ grunt runDebug
$ grunt buildApp
After the successful build, the executable standalone application is located in
- build/nw-blueprint-app/<platform>/
- The build platform (OS) and NWJS-version are defined in the
config
-section of /package.json- Allowed platforms:
'win32', 'win64', 'osx32', 'osx64', 'linux32', 'linux64'
See: https://github.com/nwjs/nw-builder
- Allowed platforms:
- The App's name, window settings etc. are located in the app manifest file, src/package.json