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:
Jonathan Hefner 2025-12-19 05:36:02 -06:00 • committed by GitHub
commit 3222c87c56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -57,7 +57,7 @@ To run all examples together:
```bash
npm install
npm run examples:start
npm start
```
Then open http://localhost:8080/.

View file

@ -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",