Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
## Commands

```sh
pnpm test # run all tests (Vitest)
pnpm exec vitest <file> # run a single test file
pnpm exec tsc --noEmit # type check
pnpm exec eslint . # lint
pnpm exec prettier --check . # check formatting
pnpm exec prettier --write . # fix formatting
pnpm exec rollup -c # build — outputs dist/main.bundle.mjs
pnpm test # run all tests (Vitest)
pnpm test <file> # run a single test file
pnpm tsc # type check
pnpm eslint . # lint
pnpm prettier --check . # check formatting
pnpm prettier --write . # fix formatting
pnpm rollup -c # build — outputs dist/main.bundle.mjs
```

Pre-commit hooks are managed by [Lefthook](https://lefthook.dev/), set up with `lefthook install`. Hooks automatically run formatting, linting, type checking, and building before each commit. CI also validates the pre-commit hook by running `lefthook run pre-commit --all-files`.
Expand Down
Loading