File size: 1,736 Bytes
10feaec 4cb1301 1560bc2 10feaec 0fadeb3 4cb1301 28d241c 1560bc2 10feaec 2e9246b 10feaec 2e9246b 97201eb 2e9246b 97201eb 10feaec 1560bc2 10feaec 1560bc2 eab61c2 1560bc2 10feaec |
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 |
{
"name": "antigravity-to-openai",
"version": "1.0.0",
"description": "Antigravity API 转 OpenAI 格式的代理服务",
"type": "module",
"main": "src/server/index.js",
"bin": "src/server/index.js",
"scripts": {
"start": "node --expose-gc src/server/index.js",
"start:no-gc": "node src/server/index.js",
"login": "node scripts/oauth-server.js",
"refresh": "node scripts/refresh-tokens.js",
"dev": "node --expose-gc --watch src/server/index.js",
"build": "node scripts/build.js --target=win",
"build:win": "node scripts/build.js --target=win",
"build:linux": "node scripts/build.js --target=linux",
"build:linux-arm64": "node scripts/build.js --target=linux-arm64",
"build:macos": "node scripts/build.js --target=macos",
"build:macos-arm64": "node scripts/build.js --target=macos-arm64",
"build:all": "node scripts/build.js --target=all"
},
"keywords": [
"antigravity",
"openai",
"api",
"proxy"
],
"author": "",
"license": "MIT",
"dependencies": {
"axios": "^1.13.2",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^5.2.1",
"jsonwebtoken": "^9.0.3"
},
"devDependencies": {
"esbuild": "^0.27.2",
"pkg": "^5.8.1"
},
"engines": {
"node": ">=18.0.0"
},
"pkg": {
"scripts": [
"src/**/*.js",
"scripts/**/*.js"
],
"assets": [
"public/*.html",
"public/*.css",
"public/js/**/*",
"public/assets/**/*",
"src/bin/**/*",
".env.example",
"config.json"
],
"targets": [
"node18-win-x64",
"node18-linux-x64",
"node18-linux-arm64",
"node18-macos-x64",
"node18-macos-arm64"
],
"outputPath": "dist"
}
}
|