summaryrefslogtreecommitdiff
path: root/examples/snowpack/src/pages/tutorials/getting-started.md
diff options
context:
space:
mode:
authorGravatar Jonathan Neal <jonathantneal@hotmail.com> 2021-08-19 01:07:08 -0400
committerGravatar GitHub <noreply@github.com> 2021-08-18 22:07:08 -0700
commite66872125d6a5e5246aeb7a2f1d5784d5c5493b7 (patch)
tree05bfcb3ec8c33a798fdc32b8d1633151e7a8a113 /examples/snowpack/src/pages/tutorials/getting-started.md
parentece0953aed6879b4e7bf2b812b4a20508181b496 (diff)
downloadastro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.tar.gz
astro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.tar.zst
astro-e66872125d6a5e5246aeb7a2f1d5784d5c5493b7.zip
add dev script, switch documentation from advising start to dev script (#1141)
Diffstat (limited to 'examples/snowpack/src/pages/tutorials/getting-started.md')
-rw-r--r--examples/snowpack/src/pages/tutorials/getting-started.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/snowpack/src/pages/tutorials/getting-started.md b/examples/snowpack/src/pages/tutorials/getting-started.md
index d3bb7c6e0..932a7b557 100644
--- a/examples/snowpack/src/pages/tutorials/getting-started.md
+++ b/examples/snowpack/src/pages/tutorials/getting-started.md
@@ -71,7 +71,7 @@ Add the Snowpack development server to `package.json` under as the `start` scrip
```diff
"scripts": {
-+ "start": "snowpack dev",
++ "dev": "snowpack dev",
"test": "echo \"Error: no test specified\" && exit 1"
},
@@ -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 start
+npm run dev
```
If all went well, Snowpack automatically opens your site in a new browser!
@@ -205,7 +205,7 @@ Add the `snowpack build` command to package.json so it's easier to run on the co
```diff
"scripts": {
- "start": "snowpack dev",
+ "dev": "snowpack dev",
+ "build": "snowpack build",
"test": "echo \"Error: no test specified\" && exit 1"