1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 17:35:33 +02:00
tldr/pages/common/npm-run.md
Managor 0fd72d1103
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>
2024-10-07 15:46:30 +02:00

379 B

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