The --save flag of the install command has become the default (since npm v6 maybe?). Therefore it can be skipped has it has actually no particular effect as if it would not be provided.
Another install flag I began recently to use quite often is --package-lock-only. Useful to resolve security vulnerabilities without bumping a direct dependency.
Thanks for the list, cool share π.
The
--save
flag of theinstall
command has become the default (since npm v6 maybe?). Therefore it can be skipped has it has actually no particular effect as if it would not be provided.Another
install
flag I began recently to use quite often is--package-lock-only
. Useful to resolve security vulnerabilities without bumping a direct dependency.Nice.
Another important one (just saw a YT video)
npm config set ignore-scripts true