-
Notifications
You must be signed in to change notification settings - Fork 121
Registry
quartzjer edited this page Nov 8, 2011
·
14 revisions
Run this (updates your ~/.npmrc file to set the default):
npm config set registry http://registry.singly.com/npm
Then you can npm install all locker dependencies and use any other npm commands against the locker registry. If you introduce a new one from the main npm registry, you can override the default by using:
npm --registry https://registry.npmjs.org/ install NEWPACKAGE
If you want that published in the locker registry, simply go into it's node_modules/NEWPACKAGE dir and "npm adduser" (if you haven't already) then "npm publish" it as well as any child node_modules/* dependencies it installed, easy!