83 lines
2.4 KiB
JSON
83 lines
2.4 KiB
JSON
{
|
|
"name": "@portkey-ai/gateway",
|
|
"version": "1.15.2",
|
|
"description": "A fast AI gateway by Portkey",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Portkey-AI/gateway.git"
|
|
},
|
|
"keywords": [
|
|
"AI gateway",
|
|
"Portkey",
|
|
"Portkey AI",
|
|
"LLM",
|
|
"OpenAI"
|
|
],
|
|
"author": "portkey-ai <support@portkey.ai>",
|
|
"license": "MIT",
|
|
"files": [
|
|
"build",
|
|
"README.md",
|
|
"SECURITY.md",
|
|
"LICENSE",
|
|
"build/public"
|
|
],
|
|
"scripts": {
|
|
"dev": "npm run dev:workerd",
|
|
"dev:node": "tsx src/start-server.ts",
|
|
"dev:workerd": "wrangler dev src/index.ts",
|
|
"deploy": "wrangler deploy --minify src/index.ts",
|
|
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"",
|
|
"build": "rollup -c",
|
|
"build-plugins": "tsx plugins/build.ts",
|
|
"prepublishOnly": "npm run build",
|
|
"start:node": "node build/start-server.js",
|
|
"format": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"",
|
|
"format:check": "prettier --check \"./**/*.{js,jsx,ts,tsx,json}\"",
|
|
"test:gateway": "jest src/",
|
|
"test:plugins": "jest plugins/",
|
|
"pre-push": "npm run build && node start-test.js",
|
|
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky",
|
|
"postinstall": "patch-package"
|
|
},
|
|
"dependencies": {
|
|
"@aws-crypto/sha256-js": "^5.2.0",
|
|
"@cfworker/json-schema": "^4.0.3",
|
|
"@hono/node-server": "^1.3.3",
|
|
"@hono/node-ws": "^1.2.0",
|
|
"@portkey-ai/mustache": "^2.1.3",
|
|
"@smithy/signature-v4": "^2.1.1",
|
|
"@types/mustache": "^4.2.5",
|
|
"async-retry": "^1.3.3",
|
|
"avsc": "^5.7.7",
|
|
"ioredis": "^5.8.0",
|
|
"hono": "^4.9.7",
|
|
"jose": "^6.0.11",
|
|
"patch-package": "^8.0.1",
|
|
"ws": "^8.18.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20230518.0",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
"@types/async-retry": "^1.4.5",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "20.8.3",
|
|
"@types/ws": "^8.5.12",
|
|
"husky": "^9.1.4",
|
|
"jest": "^29.7.0",
|
|
"portkey-ai": "^1.9.1",
|
|
"prettier": "3.2.5",
|
|
"rollup": "^4.9.1",
|
|
"rollup-plugin-copy": "^3.5.0",
|
|
"ts-jest": "^29.2.4",
|
|
"tsx": "^4.7.0",
|
|
"typescript-eslint": "^8.1.0",
|
|
"wrangler": "^3.97.0"
|
|
},
|
|
"bin": "build/start-server.js",
|
|
"type": "module"
|
|
}
|