-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.1 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.1 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
{
"name": "copilot-api",
"version": "4.0.0",
"description": "Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!",
"keywords": [
"proxy",
"github-copilot",
"openai-compatible"
],
"homepage": "https://github.com/QLHazyCoder/copilot-api",
"bugs": "https://github.com/QLHazyCoder/copilot-api/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/QLHazyCoder/copilot-api.git"
},
"author": "QLHazyCoder",
"type": "module",
"files": [
"dist"
],
"workspaces": [
"packages/*",
"web/*"
],
"scripts": {
"build": "bun run build:server && bun run build:admin",
"build:admin": "bun run --cwd web/admin build",
"build:server": "tsdown",
"dev": "bun run dev:server",
"dev:admin": "bun run --cwd web/admin dev",
"dev:finalize": "bun run lint:fix && bun run lint",
"dev:server": "bun run --watch ./src/main.ts",
"knip": "knip-bun",
"lint": "eslint --cache",
"lint:all": "eslint --cache .",
"lint:fix": "eslint --fix ./src",
"prepare": "simple-git-hooks",
"start": "NODE_ENV=production bun run ./src/main.ts",
"test:admin-web": "bun run --cwd web/admin test",
"typecheck": "bun run typecheck:server && bun run typecheck:admin",
"typecheck:admin": "bun run --cwd web/admin typecheck",
"typecheck:server": "tsc"
},
"simple-git-hooks": {
"pre-commit": "bun run dev:finalize && bunx lint-staged"
},
"lint-staged": {
"*": "bun run lint --fix"
},
"dependencies": {
"@ai-sdk/provider": "^3.0.8",
"@ai-sdk/provider-utils": "^4.0.19",
"consola": "^3.4.2",
"fetch-event-stream": "^0.1.5",
"gpt-tokenizer": "^3.0.1",
"hono": "^4.9.9",
"proxy-from-env": "^1.1.0",
"srvx": "^0.8.9",
"undici": "^7.19.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@echristian/eslint-config": "^0.0.54",
"@types/bun": "^1.2.23",
"@types/proxy-from-env": "^1.0.4",
"eslint": "^9.37.0",
"knip": "^5.64.1",
"lint-staged": "^16.2.3",
"simple-git-hooks": "^2.13.1",
"tsdown": "^0.15.6",
"typescript": "^5.9.3"
}
}