node.js - package.json dependency alternative source -


can tell specific dependency cloned different source not npmjs? maybe this:

"dependencies": {     "foo":       {         "ver":">= 2.0"        "src":"https://github.com/foo/foo.git"      }  } 

if want on github or valid git address, can

"dependencies": { "express": "visionmedia/express" }

or

"dependencies": { "express": "git://github.com/visionmedia/express.git#commit-ish" }

where #commit-ish commit hash id helps specify version number.

take on official guides: https://www.npmjs.org/doc/json.html#dependencies, can more expected.


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -