-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 4.85 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 4.85 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
{
"name": "ubuy-backend",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"prettier:check": "prettier --check \".github/workflows/**/*.yml\"",
"start": "node --max-old-space-size=512 dist/main.js",
"start:dev": "nest start --watch",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest --passWithNoTests",
"check:local": "npm run build && npm run prettier:check && npm run test:unit && npm run test:integration",
"test:unit": "jest --config ./test/jest-unit.json --passWithNoTests",
"test:unit:cov": "jest --config ./test/jest-unit.json --coverage --coverageDirectory ./coverage/unit --runInBand",
"test:integration": "jest --config ./test/jest-integration.json --runInBand",
"test:integration:cov": "jest --config ./test/jest-integration.json --coverage --coverageDirectory ./coverage/integration --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json --runInBand",
"test:e2e:cov": "jest --config ./test/jest-e2e.json --coverage --coverageDirectory ./coverage/e2e --runInBand",
"test:e2e:core": "jest --config ./test/jest-e2e.json --runInBand --testPathPatterns=\"test/e2e/(auth-signup-verification|auth-profile|auction-bid-payment|auctions-permissions|bids-websocket|auction-payment-expiry-decision)\\.e2e-spec\\.ts$\"",
"test:smoke": "jest --config ./test/jest-smoke.json --runInBand",
"test:smoke:cov": "jest --config ./test/jest-smoke.json --coverage --coverageDirectory ./coverage/smoke --runInBand",
"test:all:cov": "jest --config ./test/jest-all-coverage.json --coverageDirectory ./coverage/combined --runInBand",
"test:mutation": "stryker run",
"infra:local:up": "docker compose -f ./docker-compose.local.yml up -d",
"infra:local:down": "docker compose -f ./docker-compose.local.yml down",
"infra:local:logs": "docker compose -f ./docker-compose.local.yml logs -f --tail=100",
"start:dev:loadtest": "node ./scripts/run-with-env.js ./.env.loadtest.local npm run start:dev",
"load:test": "node ./scripts/run-k6.js ./load-tests/scenarios/public-read.js",
"load:test:1k": "node ./scripts/run-k6.js ./load-tests/scenarios/public-read-1k.js",
"load:test:quick": "node ./scripts/run-k6.js ./load-tests/scenarios/public-read.js --vus 3 --duration 10s",
"load:test:1k:quick": "node ./scripts/run-k6.js ./load-tests/scenarios/public-read-1k-fast.js",
"load:test:soak": "node ./scripts/run-k6.js ./load-tests/scenarios/public-read-soak.js",
"load:test:spike": "node ./scripts/run-k6.js ./load-tests/scenarios/public-read-spike.js",
"demo:run": "node ./scripts/demo-runner.js",
"demo:start": "npm run infra:local:up && node ./scripts/seed-auctions.js && node -e \"console.log('Demo app will be available at http://localhost:8080')\" && npm run start:dev",
"security:audit": "npm audit --audit-level=high"
},
"dependencies": {
"@bull-board/api": "^6.20.6",
"@bull-board/express": "^6.20.6",
"@bull-board/ui": "^6.20.6",
"@nestjs/bullmq": "^11.0.4",
"@nestjs/common": "^11.0.1",
"@nestjs/config": "^4.0.3",
"@nestjs/core": "^11.0.1",
"@nestjs/jwt": "^11.0.2",
"@nestjs/mongoose": "^11.0.4",
"@nestjs/passport": "^11.0.5",
"@nestjs/platform-express": "^11.0.1",
"@nestjs/platform-socket.io": "^11.1.17",
"@nestjs/swagger": "^11.2.6",
"@nestjs/websockets": "^11.1.17",
"@socket.io/redis-adapter": "^8.3.0",
"bcrypt": "^6.0.0",
"bullmq": "^5.71.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"cloudinary": "^2.9.0",
"dotenv": "^17.3.1",
"express-rate-limit": "^8.3.1",
"google-auth-library": "^10.6.2",
"ioredis": "^5.10.1",
"mongoose": "^9.3.1",
"multer": "^2.1.1",
"nodemailer": "^8.0.4",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"socket.io": "^4.8.3",
"swagger-ui-express": "^5.0.1"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
"@stryker-mutator/core": "^9.6.1",
"@stryker-mutator/html-reporter": "^3.1.0",
"@stryker-mutator/jest-runner": "^9.6.1",
"@stryker-mutator/typescript": "^4.0.0",
"@types/bcrypt": "^6.0.0",
"@types/express": "^5.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^22.10.7",
"@types/passport-jwt": "^4.0.1",
"@types/supertest": "^6.0.2",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.2",
"globals": "^16.0.0",
"jest": "^30.0.0",
"prettier": "^3.4.2",
"socket.io-client": "^4.8.3",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
}
}