node.js - How to set a dependency in a specific folder using npm and package.json? -


i know if possible defien in npm package.json specific folder dependency.

for example install dojo not in default node_modules on arbitrary directory.

notes: aware of bower, interested know if possible npm , package.json alone. thanks.

{   "name": "xxx",   "version": "1.0.0",   "main": "index.js",   "keywords": [     "dojo"   ],   "author": "",   "dependencies": {     "dojo":"^1.10.4",     "connect":"^3.4.1",     "open":"^0.0.5"   } } 


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -