summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-shrinkwrap.1
blob: e5aa6917a9e6acb1ee3113095faa68ade492ebf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.TH "NPM\-SHRINKWRAP" "" "November 2019" "" ""
.SH "NAME"
\fBnpm-shrinkwrap\fR
.SH Lock down dependency versions for publication
.SS Synopsis
.P
.RS 2
.nf
npm shrinkwrap
.fi
.RE
.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\-package\-locks \fInpm\-package\-locks\fR\|\.
.SS See Also
.RS 0
.IP \(bu 2
npm help npm\-install
.IP \(bu 2
npm help npm\-run\-script
.IP \(bu 2
npm help scripts
.IP \(bu 2
npm help package\-json
.IP \(bu 2
npm help package\-locks
.IP \(bu 2
npm help package\-lock\-json
.IP \(bu 2
npm help shrinkwrap\-json
.IP \(bu 2
npm help npm\-ls

.RE