npmpkgx
Version:
Automatically add project dependencies to npm's package.json
16 lines • 889 B
JSON
{
"Description": "npmpkgx - Automatically add project dependencies to npm's package.json",
"Usage": "npmpkgx [options] [<path>]",
"Version": "v1.0",
"Arguments": {
"<path>": "The path to the directory containing the application files for the package.json file generated by npm"
},
"Options": {
"-s, --save": "Add package to dependencies(default)",
"-d, --save-dev": "Add package to devDependencies",
"-o, --save-optional": "Add package to optionalDependencies",
"-p, --save-prefix <prefix>": "Customize the prefix(^|~|<|>|=) for package version",
"--encoding <charset>": "Use encoding parameter for package.json write. The default value of charset is utf-8 if not specified",
"--registry <url?>": "Switch online mode, it will search the nodejs registry. The default value of url is 'https://registry.npmjs.org' if not specified"
}
}