cli icon indicating copy to clipboard operation
cli copied to clipboard

Is there a way to run `npm install` while preventing the installation of extraneous packages?

Open vctqs1 opened this issue 1 year ago • 0 comments

Hi, in my case, I’d like to avoid installing extraneous packages because it goes against what we want to achieve with our SCA tool.

Is there any way to prevent them from appearing in the package-lock.json file when running npm install (without needing to run npm prune)?

vctqs1 avatar Oct 20 '24 04:10 vctqs1