diff options
author | 2022-08-05 21:36:23 -0700 | |
---|---|---|
committer | 2022-08-05 21:36:23 -0700 | |
commit | 3f3a293b6bbb6bcadf2a88633efe9dbac26fb438 (patch) | |
tree | 912bff1df32e403f95f56de68620f96c38d33be5 /examples/blog | |
parent | d344f9e3ec1f69ad4d7efd433b3523ad5413b726 (diff) | |
download | astro-3f3a293b6bbb6bcadf2a88633efe9dbac26fb438.tar.gz astro-3f3a293b6bbb6bcadf2a88633efe9dbac26fb438.tar.zst astro-3f3a293b6bbb6bcadf2a88633efe9dbac26fb438.zip |
update example scripts (#4098)
Diffstat (limited to 'examples/blog')
-rw-r--r-- | examples/blog/README.md | 14 | ||||
-rw-r--r-- | examples/blog/package.json | 3 |
2 files changed, 10 insertions, 7 deletions
diff --git a/examples/blog/README.md b/examples/blog/README.md index ca87802a6..fa874dba8 100644 --- a/examples/blog/README.md +++ b/examples/blog/README.md @@ -58,12 +58,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/blog/package.json b/examples/blog/package.json index 616a44a75..737770dd3 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -6,7 +6,8 @@ "dev": "astro dev", "start": "astro dev", "build": "astro build", - "preview": "astro preview" + "preview": "astro preview", + "astro": "astro" }, "devDependencies": { "@astrojs/preact": "^0.5.2", |