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

PR-URL: https://github.com/nodejs/node/pull/32368 Refs: https://github.com/nodejs/node/issues/32296 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
778 B
778 B
section | title | description |
---|---|---|
cli-commands | npm-start | Start a package |
npm-start(1)
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.