{ "$schema": "https://json.schemastore.org/package.json", "name": "@jeffreycao/copilot-api", "version": "1.10.9", "description": "OpenAI and Anthropic-compatible gateway for GitHub Copilot or third-party providers.", "keywords": [ "ai-gateway", "github-copilot" ], "homepage": "https://github.com/caozhiyuan/copilot-api", "bugs": "https://github.com/caozhiyuan/copilot-api/issues", "repository": { "type": "git", "url": "https://github.com/caozhiyuan/copilot-api" }, "license": "MIT", "author": "caozhiyuan", "type": "module", "bin": { "copilot-api": "./dist/main.js" }, "files": [ "dist", "pages" ], "scripts": { "build": "tsdown", "build:desktop": "tsdown --config tsdown.desktop.config.ts", "dev": "bun run --watch ./src/main.ts", "knip": "knip-bun", "lint": "eslint --cache", "lint:all": "eslint --cache .", "prepack": "bun run build", "prepare": "simple-git-hooks", "release": "bumpp && bun publish --access public", "start": "NODE_ENV=production bun run ./src/main.ts", "typecheck": "tsc" }, "simple-git-hooks": { "pre-commit": "bunx lint-staged" }, "lint-staged": { "*": "bun run lint --fix" }, "overrides": { "rolldown": "1.0.0-rc.18" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.29.0", "citty": "^0.1.6", "clipboardy": "^5.0.0", "consola": "^3.4.2", "fetch-event-stream": "^0.1.5", "gpt-tokenizer": "^3.0.1", "hono": "^4.9.9", "proxy-from-env": "^1.1.0", "srvx": "^0.11.15", "tiny-invariant": "^1.3.3", "undici": "^7.16.0", "winreg": "^1.2.5", "zod": "^4.1.11" }, "devDependencies": { "@eslint/js": "^9.37.0", "@types/bun": "^1.2.23", "@types/proxy-from-env": "^1.0.4", "@types/winreg": "^1.2.36", "bumpp": "^10.2.3", "eslint": "^9.37.0", "eslint-config-flat-gitignore": "^2.1.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-unused-imports": "^4.2.0", "globals": "^16.3.0", "knip": "^5.64.1", "lint-staged": "^16.2.3", "prettier": "^3.6.2", "prettier-plugin-packagejson": "^2.5.19", "simple-git-hooks": "^2.13.1", "tsdown": "^0.15.6", "typescript": "^5.9.3", "typescript-eslint": "^8.41.0" }, "engines": { "node": ">=20" } }