Skip to main content

Commands

CommandWhat it does
npm run devWeb app dev server (port 8080)
npm run buildBuilds the docs into public/docs, then the web app
npm run build:webWeb app only (vite build)
npm run build:devDevelopment build (vite build --mode development)
npm run build:prerenderProduction build plus sitemap generation and prerendering
npm run previewServe the production build locally (vite preview)
npm run lintESLint
npm run typecheckTypeScript check via tsc --noEmit -p tsconfig.app.json && tsc --noEmit -p tsconfig.node.json (the Vite build does not typecheck — run this too)
npm run testVitest unit tests
npm run test:watchVitest in watch mode
npm run dev:docsDocs dev server
npm run build:docsBuild docs and copy them into public/docs
npm run serve:docsServe the built docs locally