D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-nodejs16
/
lib
/
node_modules
/
npm
/
man
/
man1
/
Filename :
npm-shrinkwrap.1
back
Copy
.TH "NPM\-SHRINKWRAP" "1" "February 2023" "" "" .SH "NAME" \fBnpm-shrinkwrap\fR \- Lock down dependency versions for publication .SS Synopsis .P .RS 2 .nf npm shrinkwrap .fi .RE .P Note: This command is unaware of workspaces\. .SS Description .P This command repurposes \fBpackage\-lock\.json\fP into a publishable \fBnpm\-shrinkwrap\.json\fP or simply creates a new one\. The file created and updated by this command will then take precedence over any other existing or future \fBpackage\-lock\.json\fP files\. For a detailed explanation of the design and purpose of package locks in npm, see npm help package\-lock\-json\. .SS See Also .RS 0 .IP \(bu 2 npm help install .IP \(bu 2 npm help run\-script .IP \(bu 2 npm help scripts .IP \(bu 2 package\.json \fI/configuring\-npm/package\-json\fR .IP \(bu 2 package\-lock\.json \fI/configuring\-npm/package\-lock\-json\fR .IP \(bu 2 npm\-shrinkwrap\.json \fI/configuring\-npm/npm\-shrinkwrap\-json\fR .IP \(bu 2 npm help ls .RE