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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -