Development
Requirements
- Node.js 22 (see
dashboard/.nvmrc) - npm (see the
packageManagerfield indashboard/package.json)
Setup
cd dashboard
npm install
Common commands
The following commands are run from inside the dashboard/ folder (see dashboard/package.json):
| Command | Description |
|---|---|
npm run dev |
Starts the development server |
npm run build |
Produces a production build (tsc && vite build) |
npm run lint |
Runs ESLint |
npm run typecheck |
tsc --noEmit for production source code |
npm run typecheck:test |
tsc --noEmit for test source code |
npm run test:iqv:ci |
Runs the Jest test suite with coverage, in CI mode |
npm run test:ci |
Shortcut for test:iqv:ci |
npm run ci:verify |
Runs all of the lint/typecheck/test/build steps above, in sequence |
CI
This repository's CI workflow is defined in .github/workflows/ci.yml and produces six required checks (Lint, Production TypeScript, Test TypeScript, Tests and Coverage, Production Build, Dependency Audit) as well as a CI quality report (CI / Quality Report). See the CI Quality Report page for details.