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
83 lines (83 loc) · 2.61 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.61 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
{
"name": "copilot-api",
"version": "0.6.3",
"description": "Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!",
"keywords": [
"proxy",
"github-copilot",
"openai-compatible"
],
"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"
],
"scripts": {
"build": "tsdown",
"dev": "bun run --watch ./src/main.ts",
"docker:build": "docker build -t copilot-api:latest .",
"docker:run": "docker run -p 4141:4141 copilot-api:latest",
"knip": "knip-bun",
"lint": "eslint . --cache",
"prepack": "bun run build",
"package:installers": "./scripts/create-installers.sh",
"package:local": "./scripts/create-local-package.sh",
"package:source": "./scripts/create-portable-source.sh",
"package:test": "./scripts/test-local-packages.sh",
"prepare": "simple-git-hooks",
"release": "bumpp && bun publish --access public",
"release:binaries": "./scripts/build-binaries.sh",
"release:build-all": "./scripts/build-all.sh",
"release:local": "./scripts/build-local-packages.sh",
"release:local-quick": "./scripts/quick-local-release.sh",
"release:publish": "./scripts/publish-all.sh",
"release:quick": "./scripts/quick-release.sh",
"release:source": "./scripts/create-source-dist.sh",
"release:test": "./scripts/test-distributions.sh",
"start": "NODE_ENV=production bun run ./src/main.ts",
"typecheck": "tsc",
"postversion": "git push && git push --tags"
},
"simple-git-hooks": {
"pre-commit": "bunx lint-staged"
},
"lint-staged": {
"*": "bun run lint --fix"
},
"dependencies": {
"@types/node-fetch": "^2.6.13",
"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.9.4",
"node-fetch": "^2.7.0",
"proxy-agent": "^6.5.0",
"socks-proxy-agent": "^8.0.5",
"srvx": "^0.8.6",
"tiny-invariant": "^1.3.3",
"undici": "^7.15.0"
},
"devDependencies": {
"@echristian/eslint-config": "^0.0.53",
"@types/bun": "^1.2.21",
"bumpp": "^10.2.3",
"eslint": "^9.34.0",
"knip": "^5.63.0",
"lint-staged": "^16.1.5",
"prettier-plugin-packagejson": "^2.5.19",
"simple-git-hooks": "^2.13.1",
"tsdown": "^0.14.2",
"typescript": "^5.9.2"
}
}