node/deps/npm/man/man3/npm-test.3
Kat Marchán b3fee8e6a6 deps: upgrade to npm 2.14.2
PR-URL: https://github.com/nodejs/node/pull/2696
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
2015-09-07 12:02:44 +10:00

21 lines
435 B
Groff

.TH "NPM\-TEST" "3" "September 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\fP config to
true\.
.P
npm can run tests on multiple packages\. Just specify multiple packages
in the \fBpackages\fP parameter\.