It's a demo app for node-webkit built with grunt.js.
This demo app use the following:
Run npm install
to retrieve npm dependencies.
Build with grunt
.
Grunt executes the following tasks:
- copy elements from
app/assets
todist
- stylus to compile the css from
app/css/
todist/my-app.css
- cssmin to minify the css from
dist/my-app.css
todist/my-app.min.css
- jade to compile the templates from
app/index.jade
todist/index.html
- jshint to validate javascript code
- concat to join javascript files from
app/js
todist/my-app.js
- uglisfy to minify the javascript from
dist/my-app.js
todist/my-app.min.js
- node-webkit-builder to create our application package.
node-webkit-builder will download a node-webkit package for the defined target platforms (see Gruntfile.js for details).
The final app will be built as an executable in the folder dist-pkg/releases/my-app/<platform-name>/my-app/
.
The demo app shows some stuff:
- A "pages" demo, to show that navigation between pages works
- A "node" demo, using node modules to list the content of the current directory.
- More to come !
This is licensed under the MIT license.