Using npm install
, is there a way to install optionalDependencies but not install devDependencies?
- production deps
- dev deps
- optional deps
So here is how I see it:
npm install
=> installs 1,2,3npm install --production
=> installs 1npm install --no-optional
=> installs 1, 2
I am looking to install 1 and 3, though.
Something like this, maybe?
npm install --production --optional
?