node/deps/npm/man/man1/npm-prune.1

34 lines
711 B
Groff
Raw Normal View History

.TH "NPM\-PRUNE" "1" "May 2015" "" ""
.SH "NAME"
2014-09-25 05:41:07 +08:00
\fBnpm-prune\fR \- Remove extraneous packages
.SH SYNOPSIS
.P
.RS 2
2014-11-05 07:08:12 +08:00
.nf
npm prune [<name> [<name \.\.\.]]
2013-10-25 00:21:59 +08:00
npm prune [<name> [<name \.\.\.]] [\-\-production]
2014-11-05 07:08:12 +08:00
.fi
2014-09-25 05:41:07 +08:00
.RE
.SH DESCRIPTION
.P
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
2014-09-25 05:41:07 +08:00
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\|\.
2014-09-25 05:41:07 +08:00
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm help rm
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 5 folders
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2013-07-25 04:23:44 +08:00
npm help ls
2014-09-25 05:41:07 +08:00
.RE