Hy, I want to install all the node dependency in another directory than the package.json.
I want this arborescence:
>package.json
>target-custom
> -> node_modules
> -> -> jasmine....
the issue is than when I run npm install
I've this:(logic, but not what I want)
>package.json
>node_modules
> -> jasmine....
> target-custom (empty)
and when I run npm install --prefix target
npm try to find a module called 'target'
any Idea ?
EDIT : I don't want the package.json be at the same level than the node_modules directory.