90 lines
2.6 KiB
JSON
90 lines
2.6 KiB
JSON
{
|
|
"name": "oai-reverse-proxy",
|
|
"version": "1.0.0",
|
|
"description": "Reverse proxy for the OpenAI API",
|
|
"scripts": {
|
|
"build": "tsc && copyfiles -u 1 src/**/*.ejs build",
|
|
"database:migrate": "ts-node scripts/migrate.ts",
|
|
"prepare": "husky install",
|
|
"start": "node build/server.js",
|
|
"start:dev": "nodemon --watch src --exec ts-node --transpile-only src/server.ts",
|
|
"start:replit": "tsc && node build/server.js",
|
|
"start:watch": "nodemon --require source-map-support/register build/server.js",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@anthropic-ai/tokenizer": "^0.0.4",
|
|
"@aws-crypto/sha256-js": "^5.2.0",
|
|
"@node-rs/argon2": "^1.8.3",
|
|
"@smithy/eventstream-codec": "^2.1.3",
|
|
"@smithy/eventstream-serde-node": "^2.1.3",
|
|
"@smithy/protocol-http": "^3.2.1",
|
|
"@smithy/signature-v4": "^2.1.3",
|
|
"@smithy/types": "^2.10.1",
|
|
"@smithy/util-utf8": "^2.1.1",
|
|
"axios": "^1.3.5",
|
|
"better-sqlite3": "^10.0.0",
|
|
"check-disk-space": "^3.4.0",
|
|
"cookie-parser": "^1.4.6",
|
|
"copyfiles": "^2.4.1",
|
|
"cors": "^2.8.5",
|
|
"csrf-csrf": "^2.3.0",
|
|
"dotenv": "^16.3.1",
|
|
"ejs": "^3.1.10",
|
|
"express": "^4.18.2",
|
|
"express-session": "^1.17.3",
|
|
"firebase-admin": "^12.1.0",
|
|
"glob": "^10.3.12",
|
|
"googleapis": "^122.0.0",
|
|
"http-proxy-middleware": "^3.0.0-beta.1",
|
|
"ipaddr.js": "^2.1.0",
|
|
"memorystore": "^1.6.7",
|
|
"multer": "^1.4.5-lts.1",
|
|
"node-schedule": "^2.1.1",
|
|
"pino": "^8.11.0",
|
|
"pino-http": "^8.3.3",
|
|
"sanitize-html": "2.12.1",
|
|
"sharp": "^0.32.6",
|
|
"showdown": "^2.1.0",
|
|
"source-map-support": "^0.5.21",
|
|
"stream-json": "^1.8.0",
|
|
"tiktoken": "^1.0.10",
|
|
"uuid": "^9.0.0",
|
|
"zlib": "^1.0.5",
|
|
"zod": "^3.22.3",
|
|
"zod-error": "^1.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.10",
|
|
"@types/cookie-parser": "^1.4.3",
|
|
"@types/cors": "^2.8.13",
|
|
"@types/express": "^4.17.17",
|
|
"@types/express-session": "^1.17.7",
|
|
"@types/multer": "^1.4.7",
|
|
"@types/node-schedule": "^2.1.0",
|
|
"@types/sanitize-html": "^2.9.0",
|
|
"@types/showdown": "^2.0.0",
|
|
"@types/stream-json": "^1.7.7",
|
|
"@types/uuid": "^9.0.1",
|
|
"concurrently": "^8.0.1",
|
|
"esbuild": "^0.17.16",
|
|
"esbuild-register": "^3.4.2",
|
|
"husky": "^8.0.3",
|
|
"nodemon": "^3.0.1",
|
|
"pino-pretty": "^10.2.3",
|
|
"prettier": "^3.0.3",
|
|
"prettier-plugin-ejs": "^1.0.3",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.4.2"
|
|
},
|
|
"overrides": {
|
|
"postcss": "^8.4.31",
|
|
"follow-redirects": "^1.15.4"
|
|
}
|
|
}
|