table of contents
other versions
- bullseye 7.5.2+ds-2
- bullseye-backports 8.5.5~ds1-1~bpo11+1
- testing 9.1.3~ds1-1
- unstable 9.2.0~ds1-1
NPM-TEST(1) | NPM-TEST(1) |
NAME¶
npm-test - Test a package
Synopsis¶
npm test [-- <args>] aliases: t, tst
Description¶
This runs a predefined command specified in the "test" property of a package's "scripts" object.
Example¶
{
"scripts": {
"test": "node test.js"
} }
npm test > npm@x.x.x test > node test.js (test.js output would be here)
See Also¶
- npm help run-script
- npm help scripts
- npm help start
- npm help restart
- npm help stop
undefined NaN |