aboutsummaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/doc/cli/npm-start.md
blob: e43f02149935a91f19b12991e9727cc1178912ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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`](https://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

* npm-run-script(1)
* npm-scripts(7)
* npm-test(1)
* npm-restart(1)
* npm-stop(1)