2012-08-07 04:07:31 +08:00
|
|
|
.\" Generated with Ronnjs 0.3.8
|
2011-11-27 01:21:03 +08:00
|
|
|
.\" http://github.com/kapouer/ronnjs/
|
|
|
|
.
|
2014-09-17 06:38:50 +08:00
|
|
|
.TH "NPM\-PRUNE" "1" "September 2014" "" ""
|
2011-11-27 01:21:03 +08:00
|
|
|
.
|
|
|
|
.SH "NAME"
|
|
|
|
\fBnpm-prune\fR \-\- Remove extraneous packages
|
|
|
|
.
|
|
|
|
.SH "SYNOPSIS"
|
|
|
|
.
|
|
|
|
.nf
|
|
|
|
npm prune [<name> [<name \.\.\.]]
|
2013-10-25 00:21:59 +08:00
|
|
|
npm prune [<name> [<name \.\.\.]] [\-\-production]
|
2011-11-27 01:21:03 +08:00
|
|
|
.
|
|
|
|
.fi
|
|
|
|
.
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
This command removes "extraneous" packages\. If a package name is
|
|
|
|
provided, then only packages matching one of the supplied names are
|
|
|
|
removed\.
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
Extraneous packages are packages that are not listed on the parent
|
|
|
|
package\'s dependencies list\.
|
|
|
|
.
|
2013-10-25 00:21:59 +08:00
|
|
|
.P
|
|
|
|
If the \fB\-\-production\fR flag is specified, this command will remove the
|
|
|
|
packages specified in your \fBdevDependencies\fR\|\.
|
|
|
|
.
|
2011-11-27 01:21:03 +08:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.
|
|
|
|
.IP "\(bu" 4
|
|
|
|
npm help rm
|
|
|
|
.
|
|
|
|
.IP "\(bu" 4
|
2014-09-17 06:38:50 +08:00
|
|
|
npm help 5 folders
|
2011-11-27 01:21:03 +08:00
|
|
|
.
|
|
|
|
.IP "\(bu" 4
|
2013-07-25 04:23:44 +08:00
|
|
|
npm help ls
|
2011-11-27 01:21:03 +08:00
|
|
|
.
|
|
|
|
.IP "" 0
|
|
|
|
|