summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-prune.1
blob: 1a8cc952156069c172a5e981f32a944bb4745f7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.TH "NPM\-PRUNE" "1" "October 2014" "" ""
.SH "NAME"
\fBnpm-prune\fR \- Remove extraneous packages
.SH SYNOPSIS
.P
.RS 2
.nf
npm prune [<name> [<name \.\.\.]]
npm prune [<name> [<name \.\.\.]] [\-\-production]
.fi
.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
package's dependencies list\.
.P
If the \fB\-\-production\fR flag is specified, this command will remove the
packages specified in your \fBdevDependencies\fR\|\.
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm help rm
.IP \(bu 2
npm help 5 folders
.IP \(bu 2
npm help ls

.RE