-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 5.16 KB
/
package.json
File metadata and controls
161 lines (161 loc) · 5.16 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "flexgate-proxy",
"version": "0.1.0-beta.4",
"description": "FlexGate - Production-grade API Gateway with built-in observability, security, and reliability. The flexible alternative to Kong and AWS API Gateway.",
"main": "dist/app.js",
"types": "dist/app.d.ts",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build:watch": "tsc -p tsconfig.build.json --watch",
"start": "node -r dotenv/config ./dist/bin/www",
"start:dev": "ts-node -r dotenv/config ./bin/www",
"dev": "NODE_ENV=development nodemon --exec ts-node -r dotenv/config ./bin/www",
"test": "jest --coverage --verbose",
"test:watch": "jest --watch",
"test:unit": "jest --testPathPattern='src/' --coverage",
"test:integration": "jest --testPathPattern='__tests__/' --coverage",
"test:ci": "jest --coverage --ci --maxWorkers=2",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .ts,.js",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"lint:fix": "eslint . --ext .ts,.js --fix",
"validate": "npm run typecheck && npm run lint && npm test",
"prebuild": "rm -rf dist",
"prestart": "npm run build",
"benchmark": "node benchmarks/run.js",
"benchmark:report": "node benchmarks/report.js",
"podman:build": "podman build -t localhost/flexgate-proxy:latest .",
"podman:run": "podman-compose -f podman-compose.yml up -d",
"podman:stop": "podman-compose -f podman-compose.yml down",
"k8s:deploy": "kubectl apply -f infra/kubernetes/",
"k8s:delete": "kubectl delete -f infra/kubernetes/",
"db:migrate": "ts-node migrations/run.ts",
"db:seed": "ts-node migrations/seed.ts",
"db:reset": "podman-compose -f podman-compose.dev.yml down -v && podman-compose -f podman-compose.dev.yml up -d postgres && sleep 3 && npm run db:migrate && npm run db:seed",
"db:start": "podman-compose -f podman-compose.dev.yml up -d postgres",
"db:stop": "podman-compose -f podman-compose.dev.yml down",
"metrics:poll": "node scripts/testing/poll-live-metrics.js",
"metrics:stream": "node scripts/testing/stream-live-metrics.js",
"start:all": "./scripts/start-all.sh",
"stop:all": "./scripts/stop-all.sh",
"restart:all": "./scripts/restart-all.sh",
"status": "./scripts/status.sh",
"progress-server": "node scripts/progress-server.js",
"prepublishOnly": "npm run build",
"prepack": "npm run build",
"postinstall": "node scripts/npm/postinstall.js || true"
},
"keywords": [
"api-gateway",
"proxy",
"microservices",
"reverse-proxy",
"circuit-breaker",
"rate-limiting",
"observability",
"kong-alternative",
"api-management",
"flexgate"
],
"author": {
"name": "tapas100",
"email": "mahanta.tapas9@gmail.com",
"url": "https://github.com/tapas100"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/tapas100/flexgate-proxy.git"
},
"homepage": "https://github.com/tapas100/flexgate-proxy#readme",
"bugs": {
"url": "https://github.com/tapas100/flexgate-proxy/issues"
},
"bin": {
"flexgate": "./bin/flexgate-cli.js"
},
"files": [
"dist/",
"config/",
"migrations/",
"scripts/npm/",
"README.md",
"LICENSE",
"CHANGELOG.md",
"QUICK_START.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"overrides": {
"picomatch": "^4.0.4",
"flatted": "^3.4.2",
"minimatch@3": {
"brace-expansion": "^2.0.1"
},
"esbuild": "^0.25.0",
"vite": "^6.4.2"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.74.0",
"ajv": "^8.17.1",
"chalk": "^5.6.2",
"commander": "^12.1.0",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"debug": "~2.6.9",
"dotenv": "^17.3.1",
"express": "^4.18.2",
"express-rate-limit": "^7.5.1",
"http-errors": "~1.6.3",
"http-proxy-middleware": "^3.0.5",
"inquirer": "^9.3.8",
"joi": "^17.11.0",
"js-yaml": "^4.1.0",
"morgan": "~1.10.1",
"nats": "^2.29.3",
"node-fetch": "^3.3.2",
"pg": "^8.17.2",
"prom-client": "^15.1.0",
"rate-limit-redis": "^4.2.0",
"redis": "^4.6.12",
"uuid": "^13.0.0",
"winston": "^3.11.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@playwright/test": "^1.58.0",
"@types/cookie-parser": "^1.4.10",
"@types/cors": "^2.8.19",
"@types/debug": "^4.1.12",
"@types/express": "^4.17.21",
"@types/http-errors": "^2.0.5",
"@types/jest": "^30.0.0",
"@types/js-yaml": "^4.0.9",
"@types/morgan": "^1.9.10",
"@types/node": "^25.2.2",
"@types/pg": "^8.16.0",
"@types/supertest": "^6.0.3",
"@types/uuid": "^10.0.0",
"@typescript-eslint/parser": "^7.18.0",
"axios": "^1.15.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"node-pg-migrate": "^8.0.4",
"nodemon": "^3.0.3",
"supertest": "^6.3.4",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3",
"vitepress": "^1.6.4"
}
}