table of contents
other versions
- bullseye 7.5.2+ds-2
- bullseye-backports 8.5.5~ds1-1~bpo11+1
- testing 8.19.2~ds1-2
- unstable 8.19.2~ds1-2
- experimental 9.1.1~ds1-1
NPM-TEST(1) | General Commands Manual | NPM-TEST(1) |
NAME¶
npm-test
Synopsis¶
<!-- AUTOGENERATED USAGE DESCRIPTIONS -->
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)
Configuration¶
<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->
See Also¶
- npm run-script
- npm scripts
- npm start
- npm restart
- npm stop
November 2022 | 9.1.1 |