Using -ignore-scripts for a single dependency in NPM

Following this question , NPM dependencies can be installed using:

$ npm install --ignore-scripts

Is there a way to mark the dependency should be installed without running scripts in package.json

?

This is because the npm install --ignore-scripts

dependency is added to the package.json

. As a result, other users will install the package when they run scripts, however I want this particular package to never run scripts.

+3


source to share





All Articles