docs: update documentation to use Bun commands and scripts

- Replace npm commands with equivalent Bun commands in GETTING_STARTED.md
- Update TESTING.md to reflect Bun-specific test and development scripts
- Simplify installation, development, and testing instructions
This commit is contained in:
jango-blockchained
2025-02-04 04:17:58 +01:00
parent cb897d4cf6
commit 3e97357561
2 changed files with 10 additions and 10 deletions

View File

@@ -63,25 +63,25 @@ timeout = 30000 # Test timeout in milliseconds
testMatch = ["**/__tests__/**/*.test.ts"] # Test file patterns
```
### NPM Scripts
### Bun Scripts
Available test commands in `package.json`:
```bash
# Run all tests
npm test # or: bun test
bun test
# Watch mode for development
npm run test:watch # or: bun test --watch
bun test --watch
# Generate coverage report
npm run test:coverage # or: bun test --coverage
bun test --coverage
# Run linting
npm run lint
bun run lint
# Format code
npm run format
bun run format
```
## Test Setup