Files

21 lines
431 B
Groff
Raw Permalink Normal View History

2026-03-22 03:21:45 +02:00
.TH "NPM\-TEST" "3" "March 2017" "" ""
.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\.