Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm version

steal-nw

Create NW.js applications from StealJS projects.

Install

npm install steal-nw --save-dev

Example

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);
});

API

stealNw(nwOptions, buildResult) -> Promise

NWOptions

NW.js options are passed as the first argument are the same as documented on node-webkit-builder.

BuildResult

The result of running StealTools multi-build.

License

MIT

About

Make build nw.js applications with StealJS

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •