summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGravatar Kyosuke <kyosuke@users.noreply.github.com> 2021-07-21 23:09:44 +0900
committerGravatar GitHub <noreply@github.com> 2021-07-21 07:09:44 -0700
commit5fcd466d95f9694a758239d254e3d81f4ed289fa (patch)
treec354d7607ff153c99c5f8dd3d7fa5f215267ed1f /examples
parent661a52f4dd4979d697aafec71f49620c1ec70f85 (diff)
downloadastro-5fcd466d95f9694a758239d254e3d81f4ed289fa.tar.gz
astro-5fcd466d95f9694a758239d254e3d81f4ed289fa.tar.zst
astro-5fcd466d95f9694a758239d254e3d81f4ed289fa.zip
replace `npm run start` with `npm start` (#791)
Diffstat (limited to 'examples')
-rw-r--r--examples/blog-multiple-authors/README.md2
-rw-r--r--examples/blog/README.md2
-rw-r--r--examples/docs/README.md2
-rw-r--r--examples/docs/src/pages/index.md2
-rw-r--r--examples/portfolio/README.md2
-rw-r--r--examples/snowpack/README.md2
-rw-r--r--examples/snowpack/src/pages/tutorials/getting-started.md2
-rw-r--r--examples/snowpack/src/pages/tutorials/quick-start.md2
-rw-r--r--examples/snowpack/src/pages/tutorials/react.md2
-rw-r--r--examples/snowpack/src/pages/tutorials/svelte.md4
-rw-r--r--examples/starter/README.md2
11 files changed, 12 insertions, 12 deletions
diff --git a/examples/blog-multiple-authors/README.md b/examples/blog-multiple-authors/README.md
index d2f1f31fd..115b22ef5 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 73a4d30ca..b317f3bc3 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 7cfe8981f..cfd761649 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 cf7585d33..025727263 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 4b2bb9d74..b187d5229 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 c3a71d6f8..bde1f0826 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 07687dffa..9fcb258b2 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 a3960453f..db47b2968 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 7364f03cc..0b9f38701 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 c25f2bcdb..dd6ae73f0 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 097bf4e73..8984f5b8a 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?