Here is my structure:
Core
\Project1
package.json
Project2
package.json
So I want from Core\Project1\package.json
to link Project2\package.json
to install its dependencies when I write npm install
on Project1\package.json
.
I tried npm 'Local Paths' answers from Local dependency in package.json but somehow it does not worked as expected:
when I type npm install ..\Project2\ -save
it installs all the files from the project. But not the dependencies from the package.json files.