mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 00:52:29 +00:00

PR-URL: https://github.com/nodejs/node/pull/30271 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
780 B
Executable File
780 B
Executable File
section | title | description |
---|---|---|
cli-commands | npm-start | Start a package |
npm-start
Start a package
Synopsis
npm start [-- <args>]
Description
This runs an arbitrary command specified in the package's "start"
property of
its "scripts"
object. If no "start"
property is specified on the
"scripts"
object, it will run node server.js
.
As of npm@2.0.0
, you can
use custom arguments when executing scripts. Refer to npm-run-script
for
more details.