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 Note: This command is unaware of workspaces.
12
13 Description
14 This command repurposes package-lock.json into a publishable
15 npm-shrinkwrap.json or simply creates a new one. The file created and
16 updated by this command will then take precedence over any other exist‐
17 ing or future package-lock.json files. For a detailed explanation of
18 the design and purpose of package locks in npm, see npm help pack‐
19 age-lock-json.
20
21 See Also
22 • npm help install
23
24 • npm help run-script
25
26 • npm help scripts
27
28 • npm help package.json
29
30 • npm help package-lock.json
31
32 • npm help npm-shrinkwrap.json
33
34 • npm help ls
35
36
37
38
39 September 2022 NPM-SHRINKWRAP(1)