"NPM-SHRINKWRAP" "1" "July 2023" "" ""
"NAME"
npm-shrinkwrap - Lock down dependency versions for publication
"Synopsis"
npm shrinkwrap
Note: This command is unaware of workspaces.
"Description"
This command repurposes package-lock.json into a publishable npm-shrinkwrap.json or simply creates a new one. The file created and updated by this command will then take precedence over any other existing or future package-lock.json files. For a detailed explanation of the design and purpose of package locks in npm, see npm help package-lock-json.
"See Also"
\(bu 4
npm help install
\(bu 4
npm help run-script
\(bu 4
npm help scripts
\(bu 4
package.json \(la/configuring-npm/package-json\(ra
\(bu 4
package-lock.json \(la/configuring-npm/package-lock-json\(ra
\(bu 4
npm-shrinkwrap.json \(la/configuring-npm/npm-shrinkwrap-json\(ra
\(bu 4
npm help ls