forked from ericc-ch/copilot-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.15 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.15 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
{
"name": "copilot-api",
"version": "0.5.1",
"description": "High-performance GitHub Copilot proxy with OpenAI/Anthropic API compatibility. Hybrid Node.js + Rust architecture for maximum speed. Usable with Claude Code!",
"keywords": [
"proxy",
"github-copilot",
"openai-compatible",
"anthropic-compatible",
"rust",
"performance",
"hybrid-architecture",
"claude-code"
],
"homepage": "https://github.com/ericc-ch/copilot-api",
"bugs": "https://github.com/ericc-ch/copilot-api/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/ericc-ch/copilot-api.git"
},
"author": "Erick Christian <erickchristian48@gmail.com>",
"type": "module",
"bin": {
"copilot-api": "./dist/main.js"
},
"files": [
"dist",
"native/target/release/*.node"
],
"scripts": {
"build": "bun run build:native && bun tsup",
"build:native": "cd native && cargo build --release",
"dev": "bun run build:native && bun run --watch ./src/main.ts",
"dev:native": "cd native && cargo build",
"knip": "knip-bun",
"lint": "eslint .",
"lint:rust": "cd native && cargo clippy",
"test": "npm run test:native && bun test",
"test:native": "cd native && cargo test",
"prepack": "bun run build",
"prepare": "simple-git-hooks",
"release": "bumpp && bun publish --access public",
"start": "NODE_ENV=production bun run ./src/main.ts"
},
"simple-git-hooks": {
"pre-commit": "bunx lint-staged"
},
"lint-staged": {
"*": "bunx eslint --fix"
},
"dependencies": {
"citty": "^0.1.6",
"clipboardy": "^4.0.0",
"consola": "^3.4.2",
"fetch-event-stream": "^0.1.5",
"gpt-tokenizer": "^3.0.1",
"hono": "^4.8.1",
"srvx": "^0.8.0",
"tiny-invariant": "^1.3.3"
},
"devDependencies": {
"@echristian/eslint-config": "^0.0.43",
"@types/bun": "^1.2.16",
"bumpp": "^10.2.0",
"eslint": "^9.29.0",
"knip": "^5.61.2",
"lint-staged": "^16.1.2",
"prettier-plugin-packagejson": "^2.5.15",
"simple-git-hooks": "^2.13.0",
"tsup": "^8.5.0",
"typescript": "^5.8.3"
},
"neon": {
"type": "library",
"org": "copilot-api"
}
}