I would like to know if it is possible to defien in npm package.json a specific folder for a dependency.
For example I would like to install dojo not in the default node_modules but on an arbitrary directory.
Notes: I am aware of bower, but I would be interested to know if it is possible to do it with npm and 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"
}
}