npm-run-script(1) -- Run arbitrary package scripts

SYNOPSIS

npm run-script <script> <name>

DESCRIPTION

This runs an arbitrary command from a package's “scripts” object.

It is used by the test, start, restart, and stop commands, but can be called directly, as well.

SEE ALSO

  • npm-scripts(7)
  • npm-test(1)
  • npm-start(1)
  • npm-restart(1)
  • npm-stop(1)