forked from ding113/claude-code-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
162 lines (162 loc) · 7.55 KB
/
Copy pathpackage.json
File metadata and controls
162 lines (162 loc) · 7.55 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
161
162
{
"name": "claude-code-hub",
"version": "0.9.0",
"private": true,
"engines": {
"node": ">=22.19.0"
},
"scripts": {
"dev": "tsgo -p tsconfig.json --noEmit && next dev --port 13500",
"dev:server": "NODE_ENV=development node server.js",
"build": "tsgo -p tsconfig.json --noEmit && next build && (node scripts/copy-version-to-standalone.cjs || bun scripts/copy-version-to-standalone.cjs) && (node scripts/copy-custom-server-to-standalone.cjs || bun scripts/copy-custom-server-to-standalone.cjs)",
"start": "node server.js",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"typecheck": "tsgo -p tsconfig.json --noEmit",
"format": "biome format --write .",
"format:check": "biome format .",
"clean:cache": "rm -rf .next tsconfig.tsbuildinfo node_modules/.cache",
"test": "vitest run --configLoader bundle",
"test:ui": "vitest --ui --watch --configLoader bundle",
"test:e2e": "vitest run --config tests/configs/e2e.config.mts --reporter=verbose --configLoader bundle",
"test:integration": "vitest run --config tests/configs/integration.config.mts --reporter=verbose --configLoader bundle",
"test:integration:provider-batch-ledger": "vitest run --config tests/configs/provider-batch-ledger-postgres.config.mts --configLoader bundle",
"test:coverage": "vitest run --coverage --configLoader bundle",
"test:coverage:logs-sessionid-time-filter": "vitest run --config tests/configs/logs-sessionid-time-filter.config.mts --coverage --configLoader bundle",
"test:coverage:codex-session-id-completer": "vitest run --config tests/configs/codex-session-id-completer.config.mts --coverage --configLoader bundle",
"test:coverage:thinking-signature-rectifier": "vitest run --config tests/configs/thinking-signature-rectifier.config.mts --coverage --configLoader bundle",
"test:coverage:thinking-effort-conflict-rectifier": "vitest run --config tests/configs/thinking-effort-conflict-rectifier.config.mts --coverage --configLoader bundle",
"test:coverage:quota": "vitest run --config tests/configs/quota.config.mts --coverage --configLoader bundle",
"test:coverage:my-usage": "vitest run --config tests/configs/my-usage.config.mts --coverage --configLoader bundle",
"test:coverage:proxy-guard-pipeline": "vitest run --config tests/configs/proxy-guard-pipeline.config.mts --coverage --configLoader bundle",
"test:coverage:include-session-id-in-errors": "vitest run --config tests/configs/include-session-id-in-errors.config.mts --coverage --configLoader bundle",
"test:coverage:usage-logs-sessionid-search": "vitest run --config tests/configs/usage-logs-sessionid-search.config.mts --coverage --configLoader bundle",
"test:coverage:session-binding": "vitest run --config tests/configs/session-binding.config.mts --coverage --configLoader bundle",
"test:ci": "vitest run --configLoader bundle --reporter=default --reporter=junit --outputFile.junit=reports/vitest-junit.xml",
"test:v1": "vitest run --config tests/configs/v1.config.mts --coverage --reporter=verbose --configLoader bundle && bun scripts/check-v1-critical-coverage.ts",
"openapi:generate": "bun scripts/generate-v1-types.ts",
"openapi:check": "bun scripts/generate-v1-types.ts --check",
"openapi:lint": "bun scripts/lint-openapi.ts",
"job:daily-summary": "bun scripts/run-daily-summary.ts",
"cui": "npx cui-server --host 0.0.0.0 --port 30000 --token a7564bc8882aa9a2d25d8b4ea6ea1e2e",
"db:generate": "drizzle-kit generate && node scripts/validate-migrations.mjs",
"db:migrate": "bun --conditions=react-server scripts/migrate.ts",
"db:push": "drizzle-kit push",
"db:studio": "drizzle-kit studio",
"validate:migrations": "node scripts/validate-migrations.mjs",
"i18n:audit-placeholders": "node scripts/audit-settings-placeholders.js --scope=settings,dashboard,myUsage --format=tsv",
"i18n:audit-placeholders:fail": "node scripts/audit-settings-placeholders.js --scope=settings,dashboard,myUsage --format=tsv --fail",
"i18n:audit-messages-no-emoji": "node scripts/audit-messages-no-emoji.js --format=tsv",
"i18n:audit-messages-no-emoji:fail": "node scripts/audit-messages-no-emoji.js --format=tsv --fail",
"prepare": "husky"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,jsonc}": [
"biome check --write --no-errors-on-unmatched"
]
},
"dependencies": {
"@bull-board/api": "^8.5.0",
"@bull-board/express": "^8.5.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@hono/swagger-ui": "^0.6.1",
"@hono/zod-openapi": "^1.5.1",
"@hookform/resolvers": "^5.6.0",
"@iarna/toml": "^2.2.5",
"@langfuse/client": "^5.10.0",
"@langfuse/otel": "^5.10.0",
"@langfuse/tracing": "^5.10.0",
"@lobehub/icons": "^5.15.0",
"@opentelemetry/sdk-node": "^0.221.0",
"@radix-ui/react-alert-dialog": "^1.1.23",
"@radix-ui/react-avatar": "^1.2.6",
"@radix-ui/react-checkbox": "^1.3.11",
"@radix-ui/react-collapsible": "^1.1.20",
"@radix-ui/react-dialog": "^1.1.23",
"@radix-ui/react-dropdown-menu": "^2.1.24",
"@radix-ui/react-label": "^2.1.15",
"@radix-ui/react-popover": "^1.1.23",
"@radix-ui/react-progress": "^1.1.16",
"@radix-ui/react-scroll-area": "^1.2.18",
"@radix-ui/react-select": "^2.3.7",
"@radix-ui/react-slider": "^1.4.7",
"@radix-ui/react-slot": "^1.3.3",
"@radix-ui/react-switch": "^1.3.7",
"@radix-ui/react-tabs": "^1.1.21",
"@radix-ui/react-tooltip": "^1.2.16",
"@scalar/hono-api-reference": "^0.11.12",
"@tanstack/react-query": "^5.101.4",
"@tanstack/react-virtual": "^3.14.9",
"@tanstack/virtual-core": "^3.17.7",
"agentation": "^3.0.2",
"antd": "~6.5.3",
"bull": "^4.16.5",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "4.4.0",
"date-fns-tz": "^3.2.0",
"decimal.js-light": "^2.5.1",
"dotenv": "^17.4.2",
"drizzle-orm": "^0.45.2",
"fetch-socks": "^1.3.3",
"fflate": "^0.8.3",
"framer-motion": "^12.43.0",
"hono": "^4.12.33",
"html2canvas": "^1.4.1",
"ioredis": "^6.0.0",
"jspdf": "^4.2.1",
"lucide-react": "^1.28.0",
"maplibre-gl": "^6.1.0",
"next": "^16.2.12",
"next-intl": "^4.13.4",
"next-themes": "^0.4.6",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3",
"postgres": "^3.4.9",
"react": "^19.2.8",
"react-day-picker": "^10.0.1",
"react-dom": "^19.2.8",
"react-hook-form": "^7.84.0",
"react-syntax-highlighter": "^16.1.1",
"recharts": "^3.10.1",
"safe-regex": "^2.1.1",
"server-only": "^0.0.1",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
"timeago.js": "^4.0.2",
"tw-animate-css": "^1.4.0",
"undici": "^8.9.0",
"vaul": "^1.1.2",
"ws": "^8.21.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@biomejs/biome": "^2.5.6",
"@lobehub/ui": "^5.0.0",
"@tailwindcss/postcss": "^4.3.3",
"@types/geojson": "^7946.0.16",
"@types/ioredis": "^5.0.0",
"@types/node": "^26.1.2",
"@types/pg": "^8.20.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/ws": "^8.18.1",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"@vitest/coverage-v8": "^4.1.10",
"@vitest/ui": "^4.1.10",
"bun-types": "^1.3.14",
"drizzle-kit": "^0.31.10",
"happy-dom": "^20.11.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"openapi-typescript": "^7.13.0",
"tailwindcss": "^4.3.3",
"typescript": "6.0.2",
"typescript-7": "npm:typescript@7.0.2",
"vitest": "^4.1.10"
}
}