Skip to content

CLI utility to modify a package.json to use a private npm registry

Notifications You must be signed in to change notification settings

junosuarez/npm-protect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-protect

CLI utility to modify a package.json to use a private npm registry

helpful for publishing lots of private packages

usage

in a module's directory:

set module's registry to global default $ npm-protect

get module registry $ npm-protect -r, --registry

set module registry $ npm-protect -r, --registry

get global registry $ npm-protect -g, --global

set global registry $ npm-protect -g, --global

behavior

when run without options, changes the current module's package.json by setting

"license": "proprietary",
"publishConfig": {
  "registry": "<global registry>"
}

license

MIT (c) 2012 jden - Jason Denizac jason@denizac.org http://jden.mit-license.org/2012

About

CLI utility to modify a package.json to use a private npm registry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published