I remember reading somewhere (an issue on the repo? here in the forum? ) that npm has some logic to retrieve and use the
package.json in the topmost directory (if I run the installation from a sub-directory).
So, if I recall correctly, having something like
www/ |- vendor/ | |- node_modules/ | | |- libFoo/ | | |_package.json | |_package.json |_package.json
will use the
package.json in the www directory for the
Where can I find the documentation of this behaviour?