{ "name": "copilot-api-pro", "version": "0.8.0", "description": "GitHub Copilot → OpenAI/Anthropic-compatible API with an admin WebUI (React/Tremor), per-key debug capture, telemetry, audit log, and config hot-reload. Fork of ericc-ch/copilot-api.", "keywords": [ "proxy", "github-copilot", "openai-compatible", "admin-ui" ], "homepage": "https://github.com/HXYerror/copilot-api-pro", "bugs": "https://github.com/HXYerror/copilot-api-pro/issues", "repository": { "type": "git", "url": "git+https://github.com/HXYerror/copilot-api-pro.git" }, "author": "Erick Christian (upstream), HXYerror (fork)", "type": "module", "bin": { "copilot-api-pro": "./dist/main.js" }, "files": [ "dist", "README.md" ], "scripts": { "build": "bun run build:server && bun run build:ui", "build:server": "bun ./node_modules/tsdown/dist/run.mjs", "build:ui": "bun install --cwd ui && bun run --cwd ui build", "dev": "bun run --watch ./src/main.ts", "dev:ui": "bun run --cwd ui dev", "knip": "knip-bun", "lint": "eslint --cache", "lint:all": "eslint --cache .", "prepack": "bun run build", "prepare": "([ -d .git ] && bun run --silent prepare:dev) || bun run --silent build", "prepare:dev": "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": { "{src,ui,tests,scripts}/**/*.{js,jsx,ts,tsx}": "bun run lint --fix" }, "dependencies": { "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.8.9", "tiny-invariant": "^1.3.3", "undici": "^7.16.0", "zod": "^4.1.11" }, "devDependencies": { "@echristian/eslint-config": "^0.0.54", "@types/bun": "^1.2.23", "@types/proxy-from-env": "^1.0.4", "bumpp": "^10.2.3", "eslint": "^9.37.0", "knip": "^5.64.1", "lint-staged": "^16.2.3", "prettier-plugin-packagejson": "^2.5.19", "simple-git-hooks": "^2.13.1", "tsdown": "^0.15.6", "typescript": "^5.9.3" } }