Run wavelength-demo locally¶
Run the scroll-driven promo page from a fresh clone of
Geoffe-Ga/wavelength-demo. Verified against the repo state of 2026-07-31.
Prerequisites¶
- Node.js and npm
Steps¶
- Install from the lockfile:
npm ci
- Start the Vite dev server:
npm run dev
- For a production build and preview:
npm run build # tsc -b && vite build
npm run preview
Verify¶
- The dev server URL renders the page: a sine wave fixed mid-screen, header bars sweeping past on scroll, phase copy fading onto the wave.
- Quality gates pass:
./scripts/check-all.shexits 0 (tests, lint, typecheck; the repo holds itself to 90% coverage and a mutation-score gate per itsCLAUDE.md).