![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/local/lib/node_modules/npm/man/man5/ |
Upload File : |
.TH "NPM\-SHRINKWRAP\.JSON" "5" "November 2021" "" "" .SH "NAME" \fBnpm-shrinkwrap.json\fR \- A publishable lockfile .SS Description .P \fBnpm\-shrinkwrap\.json\fP is a file created by npm help \fBnpm shrinkwrap\fP\|\. It is identical to \fBpackage\-lock\.json\fP, with one major caveat: Unlike \fBpackage\-lock\.json\fP, \fBnpm\-shrinkwrap\.json\fP may be included when publishing a package\. .P The recommended use\-case for \fBnpm\-shrinkwrap\.json\fP is applications deployed through the publishing process on the registry: for example, daemons and command\-line tools intended as global installs or \fBdevDependencies\fP\|\. It's strongly discouraged for library authors to publish this file, since that would prevent end users from having control over transitive dependency updates\. .P If both \fBpackage\-lock\.json\fP and \fBnpm\-shrinkwrap\.json\fP are present in a package root, \fBnpm\-shrinkwrap\.json\fP will be preferred over the \fBpackage\-lock\.json\fP file\. .P For full details and description of the \fBnpm\-shrinkwrap\.json\fP file format, refer to the manual page for npm help package\-lock\.json\. .SS See also .RS 0 .IP \(bu 2 npm help shrinkwrap .IP \(bu 2 npm help package\-lock\.json .IP \(bu 2 npm help package\.json .IP \(bu 2 npm help install .RE