npm-shrinkwrap
creates npm-shrinkwrap
TLDR
Create shrinkwrap file
$ npm shrinkwrap
Include dev dependencies$ npm shrinkwrap --dev
SYNOPSIS
npm shrinkwrap [options]
DESCRIPTION
npm shrinkwrap creates npm-shrinkwrap.json. Locks dependency versions for publishing.
The command creates publishable lockfile. Unlike package-lock.json, included in package.
PARAMETERS
--dev
Include devDependencies.--help
Display help information.
CAVEATS
Published with package. Overrides package-lock.json. Use for libraries.
HISTORY
npm shrinkwrap provides version locking that travels with published packages.
SEE ALSO
npm(1), npm-install(1), package-lock.json(5)
