-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.2 KB
/
package.json
File metadata and controls
44 lines (44 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
40
41
42
43
44
{
"name": "high-beta-rate-limiter",
"version": "1.0.0",
"description": "High-Throughput Distributed Rate Limiter with Token Bucket, Sliding Window, and Fixed Window algorithms",
"main": "src/app.js",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"start": "node src/app.js",
"dev": "nodemon src/app.js",
"test": "jest --forceExit",
"test:unit": "jest --testPathPattern=\"tests/unit\" --forceExit",
"test:integration": "jest --testPathPattern=\"tests/integration\" --runInBand",
"test:benchmark": "node tests/benchmark/throughput.benchmark.js",
"benchmark": "node tests/benchmark/throughput.benchmark.js"
},
"dependencies": {
"express": "^4.18.2",
"ioredis": "^5.3.2",
"ms": "^2.1.3",
"pino": "^8.15.0",
"pino-pretty": "^10.2.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"jest": "^29.7.0",
"nodemon": "^3.0.1",
"supertest": "^6.3.3"
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/tests/unit/**/*.test.js",
"**/tests/integration/**/*.test.js"
],
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"src/**/*.js"
],
"testTimeout": 30000
}
}