Can NPM suggest to install additional and optional packages after npm install
command? Something along the lines of how it is done in Composer ?
There is a optionalDependencies
entry, but its description looks like a propose of this option is slightly different.
cd somedir npm install . or
npm install path/to/somedir somedir must contain the package.json inside it.
It knows about git too:
npm install git://github.com/visionmedia/express.git
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.