neuron-tree
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"name": "neuron-tree", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Generates the config.tree of neuron", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,4 +33,6 @@ # neuron-tree [![NPM version](https://badge.fury.io/js/neuron-tree.svg)](http://badge.fury.io/js/neuron-tree) [![Build Status](https://travis-ci.org/cortexjs/neuron-tree.svg?branch=master)](https://travis-ci.org/cortexjs/neuron-tree) [![Dependency Status](https://gemnasium.com/cortexjs/neuron-tree.svg)](https://gemnasium.com/cortexjs/neuron-tree) | ||
var tree = require('neuron-tree'); | ||
tree(cwd, pkg, { | ||
shrinkwrap: shrinkwrap | ||
tree(pkg, { | ||
cwd: cwd, | ||
built_root: built_root, | ||
dependencyKeys: ['dependencies', 'asyncDependencies'] | ||
}, function(err, tree){ | ||
@@ -41,3 +43,3 @@ // ... | ||
### tree(cwd, pkg, [options], callback) | ||
### tree(pkg, options, callback) | ||
@@ -47,3 +49,3 @@ Generates the object tree which neuron uses as the `config.tree`. | ||
- pkg `Object` cortex json | ||
- options `Object=` | ||
- options `Object` | ||
- cwd `path` | ||
@@ -50,0 +52,0 @@ - built_root `path=` the path from where we can find all installed and built packages |
12675
87