forked from google-gemini/gemini-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
147 lines (147 loc) · 5.1 KB
/
package.json
File metadata and controls
147 lines (147 loc) · 5.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
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
{
"name": "gemini-cli-router",
"version": "1.0.3",
"description": "Gemini CLI Router for Third-Party AI Providers - Route Gemini CLI requests to SHUAIHONG, DeepSeek, OpenAI, Claude and other providers",
"main": "./bundle/gemini.js",
"type": "module",
"workspaces": [
"packages/core",
"packages/cli"
],
"bin": {
"gcr": "./gcr-gemini",
"gemini-local": "./bundle/gemini.js",
"gemini-proxy": "./bundle/gemini-proxy",
"start-gemini-proxy": "./bundle/start-gemini-proxy"
},
"scripts": {
"postinstall": "node setup-post-install.js",
"preuninstall": "node cleanup-pre-uninstall.js",
"start": "./gcr-gemini",
"debug": "cross-env DEBUG=1 node --inspect-brk scripts/start.js",
"auth:npm": "npx google-artifactregistry-auth",
"auth:docker": "gcloud auth configure-docker us-west1-docker.pkg.dev",
"auth": "npm run auth:npm && npm run auth:docker",
"generate": "node scripts/generate-git-commit-info.js",
"build": "node scripts/build.js",
"build:vscode": "node scripts/build_vscode_companion.js",
"build:all": "npm run build && npm run build:sandbox && npm run build:vscode",
"build:packages": "npm run build --workspaces",
"build:sandbox": "node scripts/build_sandbox.js --skip-npm-install-build",
"bundle": "npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js",
"test": "node test-proxy.js",
"test:upstream": "npm run test --workspaces",
"test:ci": "npm run test:ci --workspaces --if-present && npm run test:scripts",
"test:scripts": "vitest run --config ./scripts/tests/vitest.config.ts",
"test:e2e": "npm run test:integration:sandbox:none -- --verbose --keep-output",
"test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",
"test:integration:sandbox:none": "GEMINI_SANDBOX=false node integration-tests/run-tests.js",
"test:integration:sandbox:docker": "GEMINI_SANDBOX=docker node integration-tests/run-tests.js",
"test:integration:sandbox:podman": "GEMINI_SANDBOX=podman node integration-tests/run-tests.js",
"lint": "eslint . --ext .ts,.tsx && eslint integration-tests",
"lint:fix": "eslint . --fix && eslint integration-tests --fix",
"lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 && eslint integration-tests --max-warnings 0",
"format": "prettier --write .",
"typecheck": "npm run typecheck --workspaces --if-present",
"preflight": "npm run clean && npm ci && npm run format && npm run lint:ci && npm run build && npm run typecheck && npm run test:ci",
"prepare": "npm run bundle",
"prepare:package": "node scripts/prepare-package.js",
"release:version": "node scripts/version.js",
"telemetry": "node scripts/telemetry.js",
"clean": "node scripts/clean.js"
},
"keywords": [
"gemini",
"cli",
"router",
"ai",
"proxy",
"shuaihong",
"deepseek",
"openai",
"claude",
"third-party",
"api",
"translator"
],
"author": "Jason Zhang",
"license": "MIT",
"dependencies": {
"@iarna/toml": "^2.2.5",
"ansi-escapes": "^7.0.0",
"chalk": "^5.4.1",
"chardet": "^2.1.0",
"command-exists": "^1.2.9",
"dotenv": "^17.2.0",
"glob": "^11.0.3",
"ink": "^6.0.1",
"ink-gradient": "^3.0.0",
"ink-spinner": "^5.0.0",
"lowlight": "^3.3.0",
"node-fetch": "^3.3.2",
"open": "^10.2.0",
"react": "^19.1.0",
"react-devtools-core": "^4.28.5",
"read-package-up": "^11.0.0",
"semver": "^7.7.2",
"shell-quote": "^1.8.3",
"string-width": "^7.2.0",
"strip-ansi": "^7.1.0",
"strip-json-comments": "^5.0.2",
"update-notifier": "^7.3.1",
"yargs": "^18.0.0"
},
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Jasonzhangf/gemini-cli-router.git"
},
"homepage": "https://github.com/Jasonzhangf/gemini-cli-router#readme",
"bugs": {
"url": "https://github.com/Jasonzhangf/gemini-cli-router/issues"
},
"preferGlobal": true,
"files": [
"gcr-gemini",
"proxy-service/",
"setup-post-install.js",
"cleanup-pre-uninstall.js",
"install-gcr-simple.sh",
"install-gcr.sh",
"uninstall-gcr.sh",
"setup-proxy.sh",
"test-proxy.js",
"README.md",
"bundle/",
"LOCAL-VERSION-README.md"
],
"devDependencies": {
"@types/mime-types": "^3.0.1",
"@types/minimatch": "^5.1.2",
"@types/mock-fs": "^4.13.4",
"@types/shell-quote": "^1.7.5",
"@vitest/coverage-v8": "^3.1.1",
"concurrently": "^9.2.0",
"cross-env": "^7.0.3",
"esbuild": "^0.25.8",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-license-header": "^0.8.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"glob": "^10.4.5",
"globals": "^16.0.0",
"json": "^11.0.0",
"lodash": "^4.17.21",
"memfs": "^4.17.2",
"mock-fs": "^5.5.0",
"prettier": "^3.5.3",
"react-devtools-core": "^4.28.5",
"typescript-eslint": "^8.30.1",
"vitest": "^3.2.4",
"yargs": "^17.7.2"
}
}