summaryrefslogtreecommitdiff
path: root/examples/docs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/docs')
-rw-r--r--examples/docs/package.json3
-rw-r--r--examples/docs/src/pages/index.md3
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/docs/package.json b/examples/docs/package.json
index 641209868..cfaa832ac 100644
--- a/examples/docs/package.json
+++ b/examples/docs/package.json
@@ -5,7 +5,8 @@
"scripts": {
"dev": "astro dev",
"start": "astro dev",
- "build": "astro build"
+ "build": "astro build",
+ "preview": "astro preview"
},
"devDependencies": {
"astro": "^0.20.0"
diff --git a/examples/docs/src/pages/index.md b/examples/docs/src/pages/index.md
index 93d75c113..cd5ce6454 100644
--- a/examples/docs/src/pages/index.md
+++ b/examples/docs/src/pages/index.md
@@ -40,7 +40,8 @@ The default Astro project has the following `scripts` in the `/package.json` fil
{
"scripts": {
"dev": "astro dev",
- "build": "astro build"
+ "build": "astro build",
+ "preview": "astro preview"
}
}
```