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

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -