504 B
504 B
npm shrinkwrap
Lock down the dependencies of a package, creating a
npm-shrinkwrap.jsonfile. Similar topackage-lock.jsonbut intended for published packages. More information: https://docs.npmjs.com/cli/shrinkwrap.
- Generate a
npm-shrinkwrap.jsonfile from the currentpackage-lock.json:
npm shrinkwrap
- Run in production mode (excludes devDependencies):
npm shrinkwrap --production
- Force recreate the shrinkwrap file even if it already exists:
npm shrinkwrap --force