npm-shrinkwrap
Lock down the dependencies of a package, creating an npm-shrinkwrap.json file. tldr-pages
On several platforms
Several platforms
Lock down the dependencies of a package, creating an npm-shrinkwrap.json file. Similar to package-lock.json but intended for published packages.
Generate an npm-shrinkwrap.json file from the current package-lock.json
npm shrinkwrapIdentifyRun in production mode (excludes devDependencies)
npm shrinkwrap --productionIdentifyForce recreate the shrinkwrap file even if it already exists
npm shrinkwrap --forceIdentify