Skip to content

Build & Test

Agentic Kanban uses esbuild for compilation, Tailwind CSS (PostCSS) for styling, and Vitest for testing. All contributions must pass the verification sequence before pull requests can be merged.


The following scripts are defined in package.json:

CommandScript RunDescription
npm run buildnode build.mjsCompiles the typescript files and styles into static files inside dist/.
npm run watchnode build.mjs --watchWatches for code changes and compiles incrementally.
npm run linttsc --noEmitValidates typescript types across all source files.
npm testvitest runRuns the test suite once.
npm run test:watchvitestRuns the test suite in watch mode.
npx @vscode/vsce packagevsce packagePackages the compiled code into an installable .vsix file.

Before making commits or opening a pull request, run the following verification sequence in your shell:

Terminal window
# Type check/lint
npm run lint
# Run all unit tests
npm test
# Build production bundle
npm run build
# Package the extension to confirm no packaging issues
npx @vscode/vsce package

Ensure all 300+ unit tests remain fully green.


Styles are defined in src/webview/board.css and compiled to dist/webview/board.css. Do not wrap custom CSS classes in @layer components because Tailwind v4 tree-shaking will remove them if they are not statically found in JS files. Use standard top-level CSS classes instead.