Skip to content

Development setup

Clone and install

Terminal window
git clone https://github.com/vadiraja/strata-grid.git
cd strata-grid
npm install

The repository is an npm workspace. The library lives at the root; the docs site lives in docs-site/.

Library scripts

CommandWhat it does
npm run devStart the Vite playground.
npm testRun the Vitest suite once.
npm run test:watchRun tests in watch mode.
npm run typecheckType-check with tsc --noEmit.
npm run buildBuild the library bundle with tsup.
npm run docs:apiRegenerate API docs under docs-site/.

Docs site

Terminal window
npm run dev -w @strata-grid/docs-site
npm run build -w @strata-grid/docs-site

The docs site regenerates the API reference before dev and build.