I prefer using post-install, if you know the names of the nested subdir. In package.json
:
"scripts": {
"postinstall": "cd nested_dir && npm install",
...
}
More Related Contents:
- Find the version of an installed npm package
- What’s the difference between dependencies, devDependencies and peerDependencies in npm package.json file?
- How do I override nested NPM dependency versions?
- NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- How to set custom location for local installation of npm package?
- Using npm behind corporate proxy .pac
- npm WARN package.json: No repository field
- How to npm install to a specified directory?
- can you host a private repository for your organization to use with npm?
- Fixing npm path in Windows 8 and 10
- Angular2 QuickStart npm start is not working correctly
- NPM stuck giving the same error EISDIR: Illegal operation on a directory, read at error (native)
- Node Sass couldn’t find a binding for your current environment
- npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
- How to consume npm modules from typescript?
- Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE Phonegap Installation
- How to Delete node_modules – Deep Nested Folder in Windows
- Global Node modules not installing correctly. Command not found
- Browserify – How to call function bundled in a file generated through browserify in browser
- What is the difference between res.send and res.write in express?
- Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format?
- Cannot uninstall angular-cli
- Difference between `npm start` & `node app.js`, when starting app?
- NPM cannot install dependencies – Attempt to unlock something which hasn’t been locked
- nodejs “npm ERR! code SELF_SIGNED_CERT_IN_CHAIN”
- npm install that requires node-gyp fails on Windows
- npm update check failed
- NPM – Can’t install socket.IO
- Cannot install bcrypt node.js module on Centos Server