npm-shrinkwrap.1 875 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .TH "NPM\-SHRINKWRAP" "1" "October 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. .P
  12. Note: This command is unaware of workspaces\.
  13. .SS Description
  14. .P
  15. This command repurposes \fBpackage\-lock\.json\fP into a publishable
  16. \fBnpm\-shrinkwrap\.json\fP or simply creates a new one\. The file created and
  17. updated by this command will then take precedence over any other existing
  18. or future \fBpackage\-lock\.json\fP files\. For a detailed explanation of the
  19. design and purpose of package locks in npm, see
  20. npm help package\-lock\-json\.
  21. .SS See Also
  22. .RS 0
  23. .IP \(bu 2
  24. npm help install
  25. .IP \(bu 2
  26. npm help run\-script
  27. .IP \(bu 2
  28. npm help scripts
  29. .IP \(bu 2
  30. npm help package\.json
  31. .IP \(bu 2
  32. npm help package\-lock\.json
  33. .IP \(bu 2
  34. npm help npm\-shrinkwrap\.json
  35. .IP \(bu 2
  36. npm help ls
  37. .RE