Files
claude-hud/tui/package.json
Jarrod Watts 0d96ec71f6 test: Add comprehensive tests for event parsing and Sparkline
Phase 4 of v2 upgrade:
- Add event-parser.test.ts with edge cases for all event types
- Add Sparkline.test.tsx for component testing
- Add ink-testing-library for component tests
- Test malformed JSON, unicode, long paths, special characters
- 65 tests total, all passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 15:20:05 +11:00

28 lines
603 B
JSON

{
"name": "claude-hud-tui",
"version": "1.0.0",
"type": "module",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"start": "node dist/index.js",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"ink": "^5.0.1",
"react": "^18.3.1",
"minimist": "^1.2.8"
},
"devDependencies": {
"@testing-library/react": "^16.3.1",
"@types/minimist": "^1.2.5",
"@types/node": "^22.10.2",
"@types/react": "^18.3.12",
"ink-testing-library": "^4.0.0",
"typescript": "^5.7.2",
"vitest": "^4.0.16"
}
}