feat: add serve command for landing page preview
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -55,9 +55,13 @@ pnpm run dev # Dev server for demo deck (http://localhost:3030)
|
||||
pnpm run dev:<deck> # Dev server for a specific deck
|
||||
pnpm run build # Build all decks → dist/
|
||||
pnpm run build:<deck> # Build a single deck
|
||||
pnpm run serve # Build all + serve dist/ on port 3030 (landing page with deck selection)
|
||||
pnpm run export # Export to PDF (requires playwright-chromium)
|
||||
```
|
||||
|
||||
- **dev mode** — hot-reload single deck for editing, use `pnpm run dev` or `pnpm run dev:<deck>`
|
||||
- **serve mode** — build all decks and serve the landing page at `http://localhost:3030`, choose which deck to present
|
||||
|
||||
## CI/CD Pipeline
|
||||
|
||||
- **Trigger:** push to `main` branch
|
||||
|
||||
Reference in New Issue
Block a user