39 lines
864 B
Groff
39 lines
864 B
Groff
|
|
.TH "NPM\-SHRINKWRAP" "1" "October 2017" "" ""
|
||
|
|
.SH "NAME"
|
||
|
|
\fBnpm-shrinkwrap\fR \- Lock down dependency versions for publication
|
||
|
|
.SH SYNOPSIS
|
||
|
|
.P
|
||
|
|
.RS 2
|
||
|
|
.nf
|
||
|
|
npm shrinkwrap
|
||
|
|
.fi
|
||
|
|
.RE
|
||
|
|
.SH 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 5 package\-locks\.
|
||
|
|
.SH SEE ALSO
|
||
|
|
.RS 0
|
||
|
|
.IP \(bu 2
|
||
|
|
npm help install
|
||
|
|
.IP \(bu 2
|
||
|
|
npm help run\-script
|
||
|
|
.IP \(bu 2
|
||
|
|
npm help 7 scripts
|
||
|
|
.IP \(bu 2
|
||
|
|
npm help 5 package\.json
|
||
|
|
.IP \(bu 2
|
||
|
|
npm help 5 package\-locks
|
||
|
|
.IP \(bu 2
|
||
|
|
npm help 5 package\-lock\.json
|
||
|
|
.IP \(bu 2
|
||
|
|
npm help 5 shrinkwrap\.json
|
||
|
|
.IP \(bu 2
|
||
|
|
npm help ls
|
||
|
|
|
||
|
|
.RE
|
||
|
|
|