cortex-neuron-builder

4.1.0 • Public • Published

neuron-builder NPM version Build Status Dependency Status

Usage

var builder = require('neuron-builder');

builder(options).parse(file, callback)

builder(options)
.on('warn', function(message){
  console.warn(message);
})
.parse(file, callback);

arguments

  • options Object

    • pkg: mixed package json format of project
    • targetVersion: target version to build
    • cwd: current working directory
    • changedFile: the file has been changed. If it has no relations with the parsing file, an ENOTNEEDBUILD error will be thrown.
    • allowNotInstalled
  • file Path the parsing file

callback will get err and contents as its arguments, where contents is the wrapped result.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 4.1.0
    1
  • 4.0.6
    0

Package Sidebar

Install

npm i cortex-neuron-builder

Weekly Downloads

1

Version

4.1.0

License

MIT

Last publish

Collaborators

  • chinesedfan
  • kael