Skip to content
quartzjer edited this page Nov 7, 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, use:

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!

Clone this wiki locally