node package manager


Build Status

What's grunt-contrib-node-webkit ?

A grunt task to build node-webkit apps. It builds the app package for specified platforms (win, mac, linux32, linux64).

Getting started

This plugin requires Grunt ~0.4.2

Check out the Getting Started guide to learn how to create a Gruntfile

Install with :

$ npm install grunt-grunticon --save-dev


Gruntfile.js example :

module.exports = function (grunt) {
    pkg: grunt.file.readJSON('package.json'),
    nw: {
      binaries: { // Node-webkit binaries for each platform (win, mac, linux32, linux64) 
        linux64: '/opt/node-webkit/node-webkit-v0.8.3-linux-x64/nw',
        win: '/opt/node-webkit/node-webkit-v0.8.3-win-ia32/nw.exe'
      options: {
        dist: 'dist'
      targets: ['linux64', 'win'], // Platform targets to build 
      src: [ // Files to include in app package 
        // ... 

Build the app packages :

$ grunt nw

Enjoy !