1NPM-SHRINKWRAP(1) NPM-SHRINKWRAP(1)
2
3
4
6 npm-shrinkwrap - Lock down dependency versions for publication
7
8 Synopsis
9 npm shrinkwrap
10
11 Description
12 This command repurposes package-lock.json into a publishable
13 npm-shrinkwrap.json or simply creates a new one. The file created and
14 updated by this command will then take precedence over any other exist‐
15 ing or future package-lock.json files. For a detailed explanation of
16 the design and purpose of package locks in npm, see npm help pack‐
17 age-locks.
18
19 See Also
20 • npm help install
21
22 • npm help run-script
23
24 • npm help scripts
25
26 • npm help package.js
27
28 • npm help package-locks
29
30 • npm help package-lock.json
31
32 • npm help shrinkwrap.json
33
34 • npm help ls
35
36
37
38
39 April 2021 NPM-SHRINKWRAP(1)