npm-shrinkwrap.1 848 B

12345678910111213141516171819202122232425262728293031323334353637
  1. .TH "NPM\-SHRINKWRAP" "1" "August 2021" "" ""
  2. .SH "NAME"
  3. \fBnpm-shrinkwrap\fR \- Lock down dependency versions for publication
  4. .SS Synopsis
  5. .P
  6. .RS 2
  7. .nf
  8. npm shrinkwrap
  9. .fi
  10. .RE
  11. .SS Description
  12. .P
  13. This command repurposes \fBpackage\-lock\.json\fP into a publishable
  14. \fBnpm\-shrinkwrap\.json\fP or simply creates a new one\. The file created and updated
  15. by this command will then take precedence over any other existing or future
  16. \fBpackage\-lock\.json\fP files\. For a detailed explanation of the design and purpose
  17. of package locks in npm, see npm help package\-locks\.
  18. .SS See Also
  19. .RS 0
  20. .IP \(bu 2
  21. npm help install
  22. .IP \(bu 2
  23. npm help run\-script
  24. .IP \(bu 2
  25. npm help scripts
  26. .IP \(bu 2
  27. npm help package\.js
  28. .IP \(bu 2
  29. npm help package\-locks
  30. .IP \(bu 2
  31. npm help package\-lock\.json
  32. .IP \(bu 2
  33. npm help shrinkwrap\.json
  34. .IP \(bu 2
  35. npm help ls
  36. .RE