diff --git a/pages/common/npm-restart.md b/pages/common/npm-restart.md new file mode 100644 index 0000000000..f6f90d34a4 --- /dev/null +++ b/pages/common/npm-restart.md @@ -0,0 +1,7 @@ +# npm restart + +> This command is an alias of `npm run restart`. + +- View documentation for the original command: + +`tldr npm run` diff --git a/pages/common/npm-run.md b/pages/common/npm-run.md new file mode 100644 index 0000000000..3cff744e1a --- /dev/null +++ b/pages/common/npm-run.md @@ -0,0 +1,28 @@ +# npm run + +> Run a script. +> More information: . + +- 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` diff --git a/pages/common/npm-start.md b/pages/common/npm-start.md new file mode 100644 index 0000000000..a7cde95f69 --- /dev/null +++ b/pages/common/npm-start.md @@ -0,0 +1,7 @@ +# npm start + +> This command is an alias of `npm run start`. + +- View documentation for the original command: + +`tldr npm run` diff --git a/pages/common/npm-stop.md b/pages/common/npm-stop.md new file mode 100644 index 0000000000..53bda37b1f --- /dev/null +++ b/pages/common/npm-stop.md @@ -0,0 +1,7 @@ +# npm stop + +> This command is an alias of `npm run stop`. + +- View documentation for the original command: + +`tldr npm run` diff --git a/pages/common/npm-test.md b/pages/common/npm-test.md new file mode 100644 index 0000000000..cbec828dbf --- /dev/null +++ b/pages/common/npm-test.md @@ -0,0 +1,7 @@ +# npm test + +> This command is an alias of `npm run test`. + +- View documentation for the original command: + +`tldr npm run`