npm-warn-shrinkwrap
v1.0.2
Published
Warn/Fail installation if npm-shrinkwrap.json exists
Downloads
21
Readme
npm-warn-shrinkwrap
Check whether a npm-shrinkwrap.json
exists in the current directory, and warn if so.
This is intended for environments where the shrinkwrapping process only happens on CI steps, but where developers should not use npm shrinkwrap
.
Install
npm install --save-dev npm-warn-shrinkwrap
Usage
Configure this in package.json
in the preinstall
script:
{
...,
"scripts": {
"preinstall": "npm-warn-shrinkwrap"
}
}