I have a main package.json for my project. I also have a component within my project which I'm publishing to NPM, so that requires its own package.json.
package.json
index.html
-folder
--component-folder
---package.json
Both package.json files define dependancies. At the moment I have to run npm install
from both my project root and from component-folder. Is there a way of making it install dependancies for both when its only run from the project root?