aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/man/man3/npm-test.3
blob: 1cde98cb3a11b01add0b58475def309b8cdc927d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.TH "NPM\-TEST" "3" "June 2015" "" ""
.SH "NAME"
\fBnpm-test\fR \- Test a package
.SH SYNOPSIS
.P
.RS 2
.nf
  npm\.commands\.test(packages, callback)
.fi
.RE
.SH DESCRIPTION
.P
This runs a package's "test" script, if one was provided\.
.P
To run tests as a condition of installation, set the \fBnpat\fR config to
true\.
.P
npm can run tests on multiple packages\. Just specify multiple packages
in the \fBpackages\fR parameter\.