build-website

Build, serve, and test the Too Many Cooks documentation website (Eleventy + Playwright)

SKILL.md

GitHub

Website (Eleventy + Playwright)

Build and test the Too Many Cooks documentation site at website/.

Commands

build — Full production build:

cd website && npm run build

dev — Start the dev server with live reload:

cd website && npm run dev

Serves at http://localhost:8080.

test — Run Playwright E2E tests:

cd website && npm test

clean — Remove generated files:

cd website && npm run clean

No args — Default to build then test.

Prerequisites

Playwright must be installed first:

cd website && npm ci && npx playwright install --with-deps chromium