Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 3.12 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 3.12 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
{
"name": "notify-queue",
"version": "0.0.1",
"description": "Distributed delayed notification queue on PostgreSQL with NestJS",
"author": "",
"private": true,
"license": "UNLICENSED",
"type": "module",
"scripts": {
"build": "nest build",
"start": "nest start",
"start:dev": "nest start --watch",
"start:prod": "node dist/main.js",
"start:api": "APP_ROLE=api node dist/main.js",
"start:worker": "APP_ROLE=worker node dist/main.js",
"lint": "eslint \"{src,tests}/**/*.ts\"",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch",
"test:unit": "NODE_OPTIONS=--experimental-vm-modules jest tests/unit",
"test:integration": "NODE_OPTIONS=--experimental-vm-modules jest tests/integration",
"test:concurrency": "NODE_OPTIONS=--experimental-vm-modules jest tests/concurrency",
"migration:run": "npm run build && node --env-file-if-exists=.env ./node_modules/typeorm/cli.js migration:run -d dist/database/data-source.js",
"migration:revert": "npm run build && node --env-file-if-exists=.env ./node_modules/typeorm/cli.js migration:revert -d dist/database/data-source.js",
"migration:show": "npm run build && node --env-file-if-exists=.env ./node_modules/typeorm/cli.js migration:show -d dist/database/data-source.js",
"seed": "npm run build && node --env-file-if-exists=.env dist/database/seeds/run-seed.js",
"docker:up": "docker compose up --build -d --scale worker=3",
"docker:seed": "docker compose --profile seed run --rm seed",
"docker:logs": "docker compose logs -f worker",
"docker:down": "docker compose down"
},
"dependencies": {
"@nestjs/axios": "^12.0.1",
"@nestjs/common": "^12.0.1",
"@nestjs/config": "^12.0.1",
"@nestjs/core": "^12.0.1",
"@nestjs/platform-express": "^12.0.1",
"@nestjs/schedule": "^12.0.2",
"@nestjs/swagger": "^12.0.2",
"@nestjs/terminus": "^12.1.0",
"@nestjs/typeorm": "^12.0.1",
"axios": "^1.20.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"helmet": "^8.3.0",
"pg": "^8.23.0",
"pino": "^10.3.1",
"pino-http": "^11.0.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"typeorm": "^1.1.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@jest/globals": "^30.5.2",
"@nestjs/cli": "^12.0.0",
"@nestjs/schematics": "^12.0.0",
"@nestjs/testing": "^12.0.1",
"@types/express": "^5.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@types/pg": "^8.23.1",
"@types/supertest": "^7.0.0",
"eslint": "^10.11.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.12.0",
"jest": "^30.5.2",
"pino-pretty": "^13.1.3",
"prettier": "^3.4.2",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.4.13",
"typescript": "^6.0.2",
"typescript-eslint": "^8.70.1"
},
"engines": {
"node": ">=22.13"
}
}