summaryrefslogtreecommitdiff
path: root/examples/non-html-pages
diff options
context:
space:
mode:
Diffstat (limited to 'examples/non-html-pages')
-rw-r--r--examples/non-html-pages/README.md14
-rw-r--r--examples/non-html-pages/package.json3
2 files changed, 10 insertions, 7 deletions
diff --git a/examples/non-html-pages/README.md b/examples/non-html-pages/README.md
index 1693feb46..571916240 100644
--- a/examples/non-html-pages/README.md
+++ b/examples/non-html-pages/README.md
@@ -36,12 +36,14 @@ Any static assets, like images, can be placed in the `public/` directory.
All commands are run from the root of the project, from a terminal:
-| Command | Action |
-|:---------------- |:-------------------------------------------- |
-| `npm install` | Installs dependencies |
-| `npm run dev` | Starts local dev server at `localhost:3000` |
-| `npm run build` | Build your production site to `./dist/` |
-| `npm run preview` | Preview your build locally, before deploying |
+| Command | Action |
+| :--------------------- | :----------------------------------------------- |
+| `npm install` | Installs dependencies |
+| `npm run dev` | Starts local dev server at `localhost:3000` |
+| `npm run build` | Build your production site to `./dist/` |
+| `npm run preview` | Preview your build locally, before deploying |
+| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
+| `npm run astro --help` | Get help using the Astro CLI |
## 👀 Want to learn more?
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index a56660d29..ad1ff179b 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -6,7 +6,8 @@
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
- "preview": "astro preview"
+ "preview": "astro preview",
+ "astro": "astro"
},
"devDependencies": {
"astro": "^1.0.0-rc.6"