From 5fcd466d95f9694a758239d254e3d81f4ed289fa Mon Sep 17 00:00:00 2001 From: Kyosuke Date: Wed, 21 Jul 2021 23:09:44 +0900 Subject: [PATCH] replace `npm run start` with `npm start` (#791) --- docs/src/pages/quick-start.md | 2 +- examples/blog-multiple-authors/README.md | 2 +- examples/blog/README.md | 2 +- examples/docs/README.md | 2 +- examples/docs/src/pages/index.md | 2 +- examples/portfolio/README.md | 2 +- examples/snowpack/README.md | 2 +- examples/snowpack/src/pages/tutorials/getting-started.md | 2 +- examples/snowpack/src/pages/tutorials/quick-start.md | 2 +- examples/snowpack/src/pages/tutorials/react.md | 2 +- examples/snowpack/src/pages/tutorials/svelte.md | 4 ++-- examples/starter/README.md | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/src/pages/quick-start.md b/docs/src/pages/quick-start.md index 9ebf92baf6..3613e6c43d 100644 --- a/docs/src/pages/quick-start.md +++ b/docs/src/pages/quick-start.md @@ -17,7 +17,7 @@ npm init astro npm install # start developing! -npm run start +npm start # when you're ready: build your static site to `dist/` npm run build diff --git a/examples/blog-multiple-authors/README.md b/examples/blog-multiple-authors/README.md index d2f1f31fd7..115b22ef5e 100644 --- a/examples/blog-multiple-authors/README.md +++ b/examples/blog-multiple-authors/README.md @@ -43,7 +43,7 @@ All commands are run from the root of the project, from a terminal: | Command | Action | |:----------------|:--------------------------------------------| | `npm install` | Installs dependencies | -| `npm run start` | Starts local dev server at `localhost:3000` | +| `npm start` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | ## 👀 Want to learn more? diff --git a/examples/blog/README.md b/examples/blog/README.md index 73a4d30ca0..b317f3bc3c 100644 --- a/examples/blog/README.md +++ b/examples/blog/README.md @@ -43,7 +43,7 @@ All commands are run from the root of the project, from a terminal: | Command | Action | |:----------------|:--------------------------------------------| | `npm install` | Installs dependencies | -| `npm run start` | Starts local dev server at `localhost:3000` | +| `npm start` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | ## 👀 Want to learn more? diff --git a/examples/docs/README.md b/examples/docs/README.md index 7cfe8981f2..cfd7616490 100644 --- a/examples/docs/README.md +++ b/examples/docs/README.md @@ -20,7 +20,7 @@ All commands are run from the root of the project, from a terminal: | Command | Action | |:----------------|:--------------------------------------------| | `npm install` | Installs dependencies | -| `npm run start` | Starts local dev server at `localhost:3000` | +| `npm start` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | ## 👀 Want to learn more? diff --git a/examples/docs/src/pages/index.md b/examples/docs/src/pages/index.md index cf7585d33a..025727263c 100644 --- a/examples/docs/src/pages/index.md +++ b/examples/docs/src/pages/index.md @@ -48,7 +48,7 @@ The default Astro project has the following `scripts` in the `/package.json` fil For local development, run: ``` -npm run start +npm start ``` To build for production, run the following command: diff --git a/examples/portfolio/README.md b/examples/portfolio/README.md index 4b2bb9d740..b187d52290 100644 --- a/examples/portfolio/README.md +++ b/examples/portfolio/README.md @@ -13,7 +13,7 @@ All commands are run from the root of the project, from a terminal: | Command | Action | |:----------------|:--------------------------------------------| | `npm install` | Installs dependencies | -| `npm run start` | Starts local dev server at `localhost:3000` | +| `npm start` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | ## 👀 Want to learn more? diff --git a/examples/snowpack/README.md b/examples/snowpack/README.md index c3a71d6f8e..bde1f08268 100644 --- a/examples/snowpack/README.md +++ b/examples/snowpack/README.md @@ -27,7 +27,7 @@ npm install 3. Run the Astro dev environment. ```shell -npm run start +npm start ``` 4. Build the website. (Not yet working.) diff --git a/examples/snowpack/src/pages/tutorials/getting-started.md b/examples/snowpack/src/pages/tutorials/getting-started.md index 07687dffa4..9fcb258b2e 100644 --- a/examples/snowpack/src/pages/tutorials/getting-started.md +++ b/examples/snowpack/src/pages/tutorials/getting-started.md @@ -80,7 +80,7 @@ Add the Snowpack development server to `package.json` under as the `start` scrip Run the following on the command line to start the Snowpack development server ``` -npm run start +npm start ``` If all went well, Snowpack automatically opens your site in a new browser! diff --git a/examples/snowpack/src/pages/tutorials/quick-start.md b/examples/snowpack/src/pages/tutorials/quick-start.md index a3960453f1..db47b2968e 100644 --- a/examples/snowpack/src/pages/tutorials/quick-start.md +++ b/examples/snowpack/src/pages/tutorials/quick-start.md @@ -29,7 +29,7 @@ For long-term development, the best way to use Snowpack is with a package.json s ```js // Recommended: package.json scripts -// npm run start (or: "yarn run ...", "pnpm run ...") +// npm start (or: "yarn run ...", "pnpm run ...") "scripts": { "start": "snowpack dev", "build": "snowpack build" diff --git a/examples/snowpack/src/pages/tutorials/react.md b/examples/snowpack/src/pages/tutorials/react.md index 7364f03cc9..0b9f387018 100644 --- a/examples/snowpack/src/pages/tutorials/react.md +++ b/examples/snowpack/src/pages/tutorials/react.md @@ -36,7 +36,7 @@ You can now head to the new directory and start Snowpack with the following two ```bash cd react-snowpack -npm run start +npm start ``` You should see your new website up and running! diff --git a/examples/snowpack/src/pages/tutorials/svelte.md b/examples/snowpack/src/pages/tutorials/svelte.md index c25f2bcdbc..dd6ae73f03 100644 --- a/examples/snowpack/src/pages/tutorials/svelte.md +++ b/examples/snowpack/src/pages/tutorials/svelte.md @@ -39,7 +39,7 @@ Head to the new `svelte-snowpack` directory and start Snowpack with the followin ```bash cd svelte-snowpack -npm run start +npm start ``` You should see your new website up and running! @@ -75,7 +75,7 @@ module.exports = { ], ``` -Restart your Snowpack dev server to run it with the new configuration. Exit the process (ctrl + c in most Windows/Linux/macOS) and start it again with `npm run start`. +Restart your Snowpack dev server to run it with the new configuration. Exit the process (ctrl + c in most Windows/Linux/macOS) and start it again with `npm start`. > 💡 Tip: Restart the Snowpack development server when you make configuration changes (changes to the `snowpack.config.js`). diff --git a/examples/starter/README.md b/examples/starter/README.md index 097bf4e731..8984f5b8ae 100644 --- a/examples/starter/README.md +++ b/examples/starter/README.md @@ -32,7 +32,7 @@ All commands are run from the root of the project, from a terminal: | Command | Action | |:----------------|:--------------------------------------------| | `npm install` | Installs dependencies | -| `npm run start` | Starts local dev server at `localhost:3000` | +| `npm start` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | ## 👀 Want to learn more?