Create NW.js applications from StealJS projects.
npm install steal-nw --save-dev
Pass NWOptions and StealTools.BuildResult to steal-nw:
var stealTools = require("steal-tools");
var stealNw = require("steal-nw");
var nwOptions = {
buildDir: "./build",
platforms: ["osx"],
files: ["./**/*"]
};
var buildPromise = stealTools({
config: __dirname + "/package.json!npm"
});
buildPromise.then(function(buildResult){
stealNw(nwOptions, buildResult);
});
stealNw(nwOptions, buildResult) -> Promise
NW.js options are passed as the first argument are the same as documented on node-webkit-builder.
The result of running StealTools multi-build.
MIT