.TH "NPM\-TEST" "1" "November 2022" "9.1.1" .SH "NAME" \fBnpm-test\fR .SH Synopsis .SH Description .P This runs a predefined command specified in the \fB"test"\fP property of .br a package's \fB"scripts"\fP object\. .SH Example .RS 2 .nf { "scripts": { "test": "node test\.js" } } .fi .RE .RS 2 .nf npm test > npm@x\.x\.x test > node test\.js (test\.js output would be here) .fi .RE .SH Configuration .SH See Also .RS 1 .IP \(bu 2 npm run\-script .IP \(bu 2 npm scripts .IP \(bu 2 npm start .IP \(bu 2 npm restart .IP \(bu 2 npm stop .RE