ui/ and is split into two apps:
New development targets
ui/3x. The rest of this page describes it.
Setup
Work in
ui/3x with pnpm — its engines field says npm, but npm install fails there. Install with pnpm install. Node 22 (ui/3x/package.json engines).Structure
Everything below is underui/3x/:
Inside modules/
Tooling
- Build/serve — Webpack 5 (
webpack.config.js); see Webpack. - Tests — Jest (jsdom) for unit tests and Cypress for E2E; see UI testing.
- Linting — ESLint flat config (
eslint.config.mjs) + Stylelint for SCSS, viapnpm lint. Husky runslint-stagedon commit. - Deploy — Vercel (
ui/3x/vercel.json,ui/create-vercel-output.js).
More UI docs
- Webpack — how the front end is built, served, and bundled.
- UI testing — running and writing tests.
- Video player — the in-app preview player.