Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.74 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 2.74 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
{
"name": "maas-coding-proxy",
"type": "module",
"version": "0.0.8-beta.7",
"description": "Local proxy for iFlytek Xingchen Coding Plan API (OpenAI-compatible)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"maas-coding-proxy": "dist/index.js"
},
"files": [
"dist/",
".env.example",
"README.md",
"CHANGELOG.md",
"docs/README.en.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=20.11"
},
"repository": {
"type": "git",
"url": "https://github.com/WillieChan2015/xfyun-coding-proxy.git"
},
"author": "Willie",
"scripts": {
"start": "bun src/index.ts",
"start:debug": "bun src/index.ts --debug",
"dev": "bun --watch src/index.ts",
"build": "bun scripts/build.ts",
"prepack": "chmod +x dist/index.js",
"prepublishOnly": "pnpm release:check && pnpm test && pnpm build",
"release:auto": "node .github/scripts/release-auto.mjs",
"release:auto:dry-run": "node .github/scripts/release-auto.mjs --dry-run",
"release:check": "node .github/scripts/verify-changelog-version.mjs",
"release:dry-run": "node .github/scripts/release-dry-run.mjs",
"release:prepare": "node .github/scripts/prepare-release.mjs",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"debug": "bun --inspect src/index.ts",
"debug:setup": "bun --inspect src/index.ts setup",
"debug:setup:safe": "cross-env CLAUDE_CONFIG_DIR=/tmp/test-claude-config bun --inspect src/index.ts setup --non-interactive"
},
"keywords": [
"proxy",
"xfyun",
"maas",
"spark",
"xf",
"xfei",
"xunfei",
"讯飞",
"MaaS",
"Astron",
"astroncodingplan",
"astron-coding-plan",
"coding-plan",
"openai-compatible",
"星辰",
"讯飞星辰",
"xingchen"
],
"license": "MIT",
"dependencies": {
"@fastify/cors": "^11.0.1",
"@fastify/one-line-logger": "^2.1.0",
"commander": "^14.0.3",
"dotenv": "^16.5.0",
"fastify": "^5.3.2",
"pino-pretty": "^13.1.3",
"pino-roll": "^4.0.0",
"zod": "^4.4.3"
},
"optionalDependencies": {
"ink": "^4",
"ink-spinner": "^5",
"react": "^18"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/bun": "^1.3.13",
"@types/node": "^20",
"@types/react": "^18",
"bun": "^1.3.13",
"cross-env": "^10.1.0",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.59.1"
}
}