replace npm run start with npm start (#791)

This commit is contained in:
Kyosuke 2021-07-21 23:09:44 +09:00 committed by GitHub
parent 661a52f4dd
commit 5fcd466d95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 13 additions and 13 deletions

View file

@ -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

View file

@ -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?

View file

@ -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?

View file

@ -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?

View file

@ -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:

View file

@ -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?

View file

@ -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.)

View file

@ -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!

View file

@ -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"

View file

@ -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!

View file

@ -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`).

View file

@ -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?