mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
054127112c
* Update request to support HTTPS-over-HTTP proxy tunneling * Throw on undefined envs in config settings * Update which to 1.0.5 * Fix windows UNC busyloop in findPrefix * Bundle nested bundleDependencies properly * Alias adduser to add-user * Doc updates (Christian Howe, Henrik Hodne, Andrew Lunny) * ignore logfd/outfd streams in makeEnv() (Rod Vagg) * shrinkwrap: Behave properly with url-installed deps * install: Support --save with url install targets * Support installing naked tars or single-file modules from urls etc. * init: Don't add engines section * Don't run make clean on rebuild * Added missing unicode replacement (atomizer)
31 lines
800 B
Groff
31 lines
800 B
Groff
.\" Generated with Ronnjs/v0.1
|
|
.\" http://github.com/kapouer/ronnjs/
|
|
.
|
|
.TH "NPM\-SHRINKWRAP" "3" "March 2012" "" ""
|
|
.
|
|
.SH "NAME"
|
|
\fBnpm-shrinkwrap\fR \-\- programmatically generate package shrinkwrap file
|
|
.
|
|
.SH "SYNOPSIS"
|
|
.
|
|
.nf
|
|
npm\.commands\.shrinkwrap(args, [silent,] callback)
|
|
.
|
|
.fi
|
|
.
|
|
.SH "DESCRIPTION"
|
|
This acts much the same ways as shrinkwrapping on the command\-line\.
|
|
.
|
|
.P
|
|
This command does not take any arguments, but \'args\' must be defined\.
|
|
Beyond that, if any arguments are passed in, npm will politely warn that it
|
|
does not take positional arguments\.
|
|
.
|
|
.P
|
|
If the \'silent\' parameter is set to true, nothing will be output to the screen,
|
|
but the shrinkwrap file will still be written\.
|
|
.
|
|
.P
|
|
Finally, \'callback\' is a function that will be called when the shrinkwrap has
|
|
been saved\.
|