Files
paseo/packages/cli/package.json
Mohamed Boudra 6fd4214466 test(cli): add zx TDD infrastructure and phase 1 tests
- Install zx as devDependency for E2E testing
- Create tests/ directory with setup utilities
- Add setup.ts with test context helpers:
  - Random port generation (never 6767)
  - Temp directory creation for PASEO_HOME and workDir
  - Daemon startup/waitForDaemon helper (WebSocket only)
  - Cleanup function
  - paseo() helper to run CLI commands against test daemon
- Add Phase 1 foundation tests (01-foundation.test.mts):
  - Test paseo --version outputs version
  - Test paseo --help shows commands
- Add test runner (run-all.mts) that discovers and runs all tests
- Add test:e2e script to package.json
2026-01-28 22:47:08 +07:00

26 lines
537 B
JSON

{
"name": "@paseo/cli",
"version": "0.1.0",
"description": "Paseo CLI - control your AI coding agents from the command line",
"type": "module",
"bin": {
"paseo": "./bin/paseo"
},
"scripts": {
"typecheck": "tsc --noEmit",
"test:e2e": "npx zx tests/run-all.mts"
},
"dependencies": {
"@paseo/server": "*",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"ws": "^8.14.2"
},
"devDependencies": {
"@types/ws": "^8.5.8",
"tsx": "^4.6.0",
"typescript": "^5.2.2",
"zx": "^8.8.5"
}
}