简体   繁体   中英

Can NPM suggest additional and optional packages after `npm install` command?

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

https://stackoverflow.com/a/10388874/8814115

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM