easy-nrm
v1.0.6
Published
An easy way to install packages by different npm registries using nrm
Maintainers
Readme
easy-nrm
easy-nrmis an easy way to install packages by different npm registries using nrm.
install
Install with npm;
$ npm install -g easy-nrm Usage
At the root of project, create the fileeasy-nrm.config.json.
{
"my-npm": ["pkg1"],
"my-npm -D": ["[email protected]"],
"my-npm2": ["pkg3"],
"npm": ["pkg4"]
}If you want to install some packages when you in dev mode, you should add -D or --save-dev at the end of register name.
{
"my-npm": ["pkg1"],
"my-npm --save-dev": ["pkg2", "pkg3"],
"my-npm-2": ["pkg4"],
"my-npm-2 -D": ["pkg5"]
}If you want to install a specified version of a package, add @<version> at the end of the package name.
{
"my-npm": ["[email protected]", "pkg2"]
}Usage: easy-nrm [options] [command]
Options:
-v, --version output the current version
-h, --help display help for command
Commands:
install|i install all the packages
help [command] display help for command
Related Projects
LICENSE
MIT

