Following this question, NPM dependencies can be installed using:
$ npm install --ignore-scripts
Is there a way to mark that a dependency should be installed without running scripts in package.json
?
This is because, when I run npm install --ignore-scripts
, the dependency is added to package.json
. As a result, other users will install the package while running scripts, however I want this certain package to never run scripts.