Book Image

NW.js Essentials

By : Alessandro Benoit, Roger Weng
Book Image

NW.js Essentials

By: Alessandro Benoit, Roger Weng

Overview of this book

Table of Contents (17 chapters)
NW.js Essentials
About the Author
About the Reviewers

node-webkit-builder and grunt-node-webkit-builder

The project links for node-webkit-builder and grunt-node-webkit-builder, respectively, are as follows:

node-webkit-builder is a Node.js script that can be used both as a module and a CLI tool.

As you guessed already, it also comes in a Grunt plugin version, while if you are a Gulp user, you can just make use of the module.

node-webkit-builder is one of the most complete tools out there as it takes care of packaging, adding icons, and filling the Info.plist data for Mac OS X, fast and offers a lot of possible customizations.

Unfortunately, many of these great customization options are not accessible through the CLI at the moment. Waiting for those features to be integrated, the CLI can still come in pretty useful for testing, so let's take a look at how it works.

First of all, install the module globally using:

$ npm install node-webkit-builder ...