What is the most correct way to install npm packages in nested sub folders?
npm packages
my-app /my-sub-module package.json package.json
I prefer using post-install, if you know the names of the nested subdir. In package.json:
package.json
"scripts": { "postinstall": "cd nested_dir && npm install", ... }