Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.45 KB
/
Copy pathpackage.json
File metadata and controls
44 lines (44 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "claude-code-headless",
"version": "0.1.0",
"description": "Programmatically control Claude Code through a headless terminal — structured JSON events, automated commands, async streaming API",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=20.19.0"
},
"scripts": {
"build": "node scripts/clean-dist.mjs && tsc -p tsconfig.build.json && cp src/proxy/mitmAddon.py dist/proxy/mitmAddon.py",
"typecheck": "tsc --noEmit",
"upstream:check": "node scripts/check-upstream.mjs",
"test": "vitest run",
"test:core": "vitest run --project core",
"test:system": "vitest run --project system",
"test:live": "vitest run --config vitest.live.config.ts --passWithNoTests",
"test:coverage": "vitest run --coverage",
"test:package": "npm run build && node scripts/test-package.mjs --require dist/proxy/mitmAddon.py",
"test:contract": "node scripts/check-test-contract.mjs",
"check": "npm run test:contract && npm run typecheck && npm test && npm run test:package"
},
"dependencies": {
"@xterm/headless": "^5.5.0",
"chokidar": "^5.0.0"
},
"peerDependencies": {
"node-pty": "^1.0.0"
},
"devDependencies": {
"@types/node": "^20.19.43",
"@vitest/coverage-v8": "^4.1.11",
"ink": "^7.1.1",
"react": "^19.3.0",
"tsx": "^4.23.13",
"typescript": "^5.5.0",
"vitest": "^4.1.10"
},
"license": "MIT"
}