Development
Setup
# Install dependencies
pnpm install
# Start playground mode
pnpm run dev
# Run Storybook locally
pnpm run storybook
Building
# Build the library
pnpm run build
# Build outputs to dist/ with:
# - ES modules (dist/index.mjs)
# - CommonJS (dist/index.js)
# - TypeScript declarations (dist/index.d.ts)
Code Quality
# Run linter
pnpm run lint
# Fix linting issues
pnpm run lint:fix
# Format code
pnpm run fmt
# Check formatting
pnpm run fmt:check