switch to bun

This commit is contained in:
2025-09-22 21:39:45 +00:00
parent 049ed4b956
commit 91c14f750e
17 changed files with 208 additions and 276 deletions

View File

@@ -1,2 +1,30 @@
# nixi-api
## Scripts
- `bun dev` - Start development server with hot reload
- `bun run lint` - Run linter (oxlint)
- `bun run type` - Type check without emitting
- `bun run build` - Build production bundle
- `bun run tests` - Run tests with Bun test runner
## Testing
This project uses Bun's built-in test runner instead of Jest or Vitest. Tests are located in the `tests/` directory and use the pattern `*.test.ts`.
### Running tests
```bash
# Run all tests
bun test
# Run specific test file
bun test tests/AccountEntity.test.ts
# Run tests in watch mode
bun test --watch
# Run tests with coverage
bun test --coverage
```