Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
doc: update npm-start.md
Browse files Browse the repository at this point in the history
Fixes #9460, specifying the default command run by "npm start" and the
fact that you can pass it arguments.

PR-URL: #10097
  • Loading branch information
JuanCaicedo authored and othiym23 committed Nov 3, 2015
1 parent cb92931 commit d623783
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/cli/npm-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ npm-start(1) -- Start a package

## DESCRIPTION

This runs a package's "start" script, if one was provided.
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`](http://blog.npmjs.org/post/98131109725/npm-2-0-0), you can
use custom arguments when executing scripts. Refer to npm-run-script(1) for
more details.

## SEE ALSO

Expand Down

0 comments on commit d623783

Please sign in to comment.