Add npm start alias for examples:start (#183)
Allows running `npm start` as a shorthand for `npm run examples:start`, providing a conventional entry point to launch the example servers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
9963d0f17d
commit
3222c87c56
2 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ To run all examples together:
|
|||
|
||||
```bash
|
||||
npm install
|
||||
npm run examples:start
|
||||
npm start
|
||||
```
|
||||
|
||||
Then open http://localhost:8080/.
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
],
|
||||
"scripts": {
|
||||
"postinstall": "node scripts/setup-bun.mjs || echo 'setup-bun.mjs failed or not available'",
|
||||
"start": "npm run examples:start",
|
||||
"generate:schemas": "tsx scripts/generate-schemas.ts && prettier --write \"src/generated/**/*\"",
|
||||
"build": "npm run generate:schemas && node scripts/run-bun.mjs build.bun.ts",
|
||||
"prepack": "npm run build",
|
||||
|
|
|
|||
Loading…
Reference in a new issue