npm-test man page

npm-test — Test a package

Synopsis

  npm test [-- <args>]

  aliases: t, tst

Description

This runs a package's "test" script, if one was provided.

To run tests as a condition of installation, set the npat config to true.

See Also

·

npm help run-script

·

npm help 7 scripts

·

npm help start

·

npm help restart

·

npm help stop

Info

November 2016