mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 06:55:27 +02:00
npm-{run, start, stop, restart, test}: add page (#14035)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
10a3a4ed40
commit
0fd72d1103
5 changed files with 56 additions and 0 deletions
7
pages/common/npm-restart.md
Normal file
7
pages/common/npm-restart.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# npm restart
|
||||
|
||||
> This command is an alias of `npm run restart`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr npm run`
|
28
pages/common/npm-run.md
Normal file
28
pages/common/npm-run.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# npm run
|
||||
|
||||
> Run a script.
|
||||
> More information: <https://www.npmjs.com>.
|
||||
|
||||
- Run a script:
|
||||
|
||||
`npm run {{script_name}}`
|
||||
|
||||
- Pass arguments to a script:
|
||||
|
||||
`npm run {{script_name}} -- {{argument}} {{--option}}`
|
||||
|
||||
- Run a script named `start`:
|
||||
|
||||
`npm start`
|
||||
|
||||
- Run a script named `stop`:
|
||||
|
||||
`npm stop`
|
||||
|
||||
- Run a script named `restart`:
|
||||
|
||||
`npm restart`
|
||||
|
||||
- Run a script named `test`:
|
||||
|
||||
`npm test`
|
7
pages/common/npm-start.md
Normal file
7
pages/common/npm-start.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# npm start
|
||||
|
||||
> This command is an alias of `npm run start`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr npm run`
|
7
pages/common/npm-stop.md
Normal file
7
pages/common/npm-stop.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# npm stop
|
||||
|
||||
> This command is an alias of `npm run stop`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr npm run`
|
7
pages/common/npm-test.md
Normal file
7
pages/common/npm-test.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# npm test
|
||||
|
||||
> This command is an alias of `npm run test`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr npm run`
|
Loading…
Add table
Reference in a new issue