-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.2 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 1.2 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
{
"name": "distributed-rate-limiter",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "bun test",
"dev": "docker compose up -d --build",
"dev:redis": "BACKEND=redis docker compose up -d --build",
"dev:logs": "docker compose logs -f app",
"dev:down": "docker compose down",
"proto:generate": "bunx protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/proto --ts_proto_opt=outputServices=grpc-js --ts_proto_opt=esModuleInterop=true --proto_path=src/proto src/proto/ratelimit.proto",
"demo": "./demo.sh",
"example:basic": "bun run examples/basic_usage.ts",
"example:burst": "bun run examples/burst_demo.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"dependencies": {
"@grpc/grpc-js": "^1.14.3",
"@grpc/proto-loader": "^0.8.0",
"@types/node": "^25.0.9",
"@types/pg": "^8.16.0",
"@types/uuid": "^10.0.0",
"dotenv": "^17.2.3",
"google-protobuf": "^4.0.1",
"ioredis": "^5.9.3",
"pg": "^8.17.1",
"typescript": "^5.9.3",
"uuid": "^13.0.0"
},
"devDependencies": {
"bun-types": "latest",
"grpc-tools": "^1.13.1",
"ts-proto": "^2.11.0"
}
}