neuron-package-dependency
v4.0.1
Published
neuron-package-dependency
Downloads
11
Readme
neuron-package-dependency
Resolve module depdendencies from a Neuron-JSON object.
Install
$ npm i -g neuron-package-dependency
Usage
neuron-package-dependency [--cwd <path>] --output <filename>
Example
it would return an object of dependency tree:
{
<module_name>:
{
<module_version>:
{
"dependencies": { // required modules
<module_id> : <module_version>,
...
},
"asyncDependencies":{ // async required modules
<module_id> : <module_version>,
...
}
}
},
<foreign_module_name>: {
<foreign_module_version>: {}
},
...
};
License
MIT