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
19 changes: 19 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,15 +475,23 @@ The project includes a browser build at `dist/index.browser.js` that can be used
```bash
# Production build
npm run build
# or
yarn run build

# Development watch mode
npm run watch
# or
yarn run watch

# Build TypeScript typings
npm run build:typings
# or
yarn run build:typings

# Linting
npm run eslint
# or
yarn run eslint
```

## Testing
Expand Down Expand Up @@ -1184,31 +1192,42 @@ The project uses **Husky** for git hooks:
1. **Use watch mode during development**:
```bash
npm run watch
# or
yarn run watch
```
This rebuilds automatically when you save files.

2. **Run specific tests during development**:
```bash
npm run test:dev
# or
yarn run test:dev
```
Faster than full test suite.

3. **Check linting before committing**:
```bash
npm run eslint
# or
yarn run eslint
```
Fix issues before the pre-commit hook runs.

4. **Test memory usage**:
```bash
npm run test:mocha-memory-performance
# or
yarn run test:mocha-memory-performance
```
Ensure your changes don't cause memory issues.

5. **Generate coverage reports**:
```bash
npm run test:mocha-coverage
npm run test:mocha-coverage:report
# or
yarn run test:mocha-coverage
yarn run test:mocha-coverage:report
```
Check test coverage in the generated `coverage/` directory.

Expand Down
Loading