-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 4.99 KB
/
Copy pathpackage.json
File metadata and controls
160 lines (160 loc) · 4.99 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "cc-viewer",
"version": "1.7.18",
"description": "Claude Code logging, visualization, and management toolkit — launch a web viewer alongside Claude Code with full request/response tracing, proxy, and mobile support",
"license": "MIT",
"main": "server.js",
"type": "module",
"packageManager": "npm@11.9.0",
"exports": {
".": "./server.js",
"./interceptor.js": "./server/interceptor.js"
},
"author": "weiesky",
"bin": {
"ccv": "cli.js"
},
"scripts": {
"dev": "vite",
"build": "node build.js",
"build:sourcemap": "CCV_SOURCEMAP=1 node build.js",
"start": "node server.js",
"lint:control-bytes": "node scripts/check-no-control-bytes.js",
"verify:wire-v2": "node cli.js verify",
"pretest": "npm run lint:control-bytes",
"pretest:cli": "npm run lint:control-bytes",
"pretest:coverage": "npm run lint:control-bytes",
"pretest:coverage:html": "npm run lint:control-bytes",
"test": "CCV_INSTANCE_ID= CCV_LOG_DIR=tmp CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 node --test --test-force-exit --test-timeout=120000",
"test:cli": "CCV_TEST_CLI=1 CCV_INSTANCE_ID= CCV_LOG_DIR=tmp CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 node --test --test-force-exit --test-timeout=120000",
"test:coverage": "CCV_TEST_CLI=1 CCV_INSTANCE_ID= CCV_LOG_DIR=tmp CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 node --test --test-force-exit --test-timeout=120000 --experimental-test-coverage --test-coverage-include='server/**/*.js' --test-coverage-include='src/utils/**/*.js' --test-coverage-include='*.js'",
"test:coverage:html": "CCV_TEST_CLI=1 CCV_INSTANCE_ID= CCV_LOG_DIR=tmp CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 c8 --reporter=text-summary --reporter=html node --test --test-force-exit --test-timeout=120000",
"prepublishOnly": "npm run build",
"electron:dev": "electron electron/main.js",
"electron:build": "npm run build && electron-builder",
"electron:sign": "npm run electron:build && ./scripts/mac-sign.sh",
"electron:check-sign": "./scripts/check-sign-config.sh"
},
"keywords": [
"claude code",
"devtools",
"logging",
"proxy"
],
"contributors": [
{
"name": "weiesky",
"email": "sbxdwz@qq.com"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/weiesky/cc-viewer.git"
},
"bugs": {
"url": "https://github.com/weiesky/cc-viewer/issues"
},
"homepage": "https://github.com/weiesky/cc-viewer#readme",
"engines": {
"node": ">=20.14.0"
},
"files": [
"dist/",
"!dist/**/*.map",
"server.js",
"cli.js",
"findcc.js",
"interceptor.js",
"server/",
"src/utils/",
"plugins/",
"concepts/",
"ultraAgents/"
],
"devDependencies": {
"@ant-design/icons": "^5.6.1",
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-go": "^6.0.1",
"@codemirror/lang-java": "^6.0.2",
"@codemirror/lang-javascript": "^6.2.5",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/lang-php": "^6.0.2",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-rust": "^6.0.2",
"@codemirror/lang-sql": "^6.10.0",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/lang-yaml": "^6.1.2",
"@codemirror/language": "^6.12.3",
"@codemirror/view": "^6.41.0",
"@electron/notarize": "^3.1.1",
"@lezer/highlight": "^1.2.3",
"@mdxeditor/editor": "^3.55.0",
"@replit/codemirror-minimap": "^0.5.2",
"@uiw/react-codemirror": "^4.25.8",
"@vitejs/plugin-react": "^4.5.2",
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-unicode11": "^0.9.0",
"@xterm/addon-web-links": "^0.12.0",
"@xterm/addon-webgl": "^0.19.0",
"@xterm/xterm": "^6.0.0",
"antd": "^5.29.2",
"c8": "^11.0.0",
"diff": "^8.0.3",
"electron": "^42.0.1",
"electron-builder": "^26.8.1",
"highlight.js": "^11.11.1",
"html2canvas": "^1.4.1",
"jszip": "^3.10.1",
"marked": "^17.0.2",
"mermaid": "^11.13.0",
"qrcode.react": "^4.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-json-view-lite": "^2.1.0",
"react-virtuoso": "^4.18.3",
"terser": "^5.48.0",
"vite": "^6.3.5"
},
"dependencies": {
"@larksuiteoapi/node-sdk": "1.66.0",
"@wecom/aibot-node-sdk": "1.0.7",
"adm-zip": "^0.5.17",
"dingtalk-stream": "2.1.5",
"discord.js": "14.26.4",
"dompurify": "^3.3.3",
"node-pty": "^1.1.0",
"undici": "^7.22.0",
"ws": "^8.21.0"
},
"optionalDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.91"
},
"overrides": {
"axios": "^1.16.1",
"qs": "^6.15.2",
"node-gyp": "^12.1.0"
},
"c8": {
"include": [
"server/**/*.js",
"src/utils/**/*.js",
"*.js"
],
"exclude": [
"test/**",
"dist/**",
"node_modules/**",
"build.js",
"vite.config.js",
"electron/**",
"scripts/**",
"coverage/**"
],
"all": true,
"report-dir": "coverage",
"skip-full": false,
"check-coverage": false
}
}