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 npm-
15 shrinkwrap.json or simply creates a new one. The file created and up‐
16 dated by this command will then take precedence over any other existing
17 or future package-lock.json files. For a detailed explanation of the
18 design and purpose of package locks in npm, see npm help package-lock-
19 json.
20
21 See Also
22 • npm help install
23
24 • npm help run-script
25
26 • npm help scripts
27
28 • package.json ⟨/configuring-npm/package-json⟩
29
30 • package-lock.json ⟨/configuring-npm/package-lock-json⟩
31
32 • npm-shrinkwrap.json ⟨/configuring-npm/npm-shrinkwrap-json⟩
33
34 • npm help ls
35
36
37
38 November 2023 NPM-SHRINKWRAP(1)