-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathpackage.json
More file actions
173 lines (173 loc) · 6.03 KB
/
Copy pathpackage.json
File metadata and controls
173 lines (173 loc) · 6.03 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
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "@truestlink/trustlink-backend",
"version": "1.0.0",
"description": "",
"author": "",
"license": "ISC",
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\" --cache --cache-location .eslintcache",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch",
"test:integration": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --config ./test/jest-integration.json",
"test:cov": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"check-coverage": "node scripts/check_coverage.js",
"openapi:generate": "ts-node scripts/generate-openapi.ts",
"check-test-match": "node scripts/check_test_match.js",
"db:generate": "prisma generate",
"db:push": "prisma db push",
"db:migrate": "prisma migrate deploy",
"db:studio": "prisma studio",
"db:seed": "ts-node scripts/db-seed.ts",
"db:reset": "prisma migrate reset --force && npm run db:seed",
"typecheck": "tsc --noEmit",
"validate": "npm run typecheck && npm run lint:check && npm run test",
"docker:build": "docker build -t trustlink-backend .",
"docker:run": "docker run -p 3000:3000 trustlink-backend",
"stress:test": "ts-node scripts/stress-test-runner.ts",
"stress:test:config": "ts-node scripts/stress-test-runner.ts",
"benchmark:chart": "ts-node scripts/benchmark-chart-aggregation.ts"
},
"dependencies": {
"@nestjs/axios": "^4.0.0",
"@nestjs/common": "^11.0.1",
"@nestjs/config": "^4.0.0",
"@nestjs/core": "^11.0.1",
"@nestjs/platform-express": "^11.0.1",
"@nestjs/schedule": "^6.1.3",
"@nestjs/swagger": "^11.4.4",
"@nestjs/throttler": "^6.3.0",
"@opentelemetry/api": "^1.9.1",
"@opentelemetry/auto-instrumentations-node": "^0.77.0",
"@opentelemetry/core": "^2.10.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.219.0",
"@opentelemetry/resources": "^2.8.0",
"@opentelemetry/sdk-node": "^0.219.0",
"@opentelemetry/semantic-conventions": "^1.41.1",
"@prisma/adapter-pg": "^7.9.1",
"@prisma/client": "^7.8.0",
"@sendgrid/mail": "^8.1.6",
"@sentry/nestjs": "^10.55.0",
"@stellar/stellar-sdk": "^15.1.0",
"axios": "^1.18.1",
"bullmq": "^5.77.6",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"compression": "^1.8.1",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"helmet": "^8.2.0",
"ioredis": "^5.6.1",
"joi": "^17.13.4",
"pg": "^8.22.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"twilio": "^5.13.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
"@types/compression": "^1.8.1",
"@types/express": "^5.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@types/pg": "^8.20.2",
"@types/supertest": "^7.0.0",
"cross-env": "^10.1.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.2",
"globals": "^17.0.0",
"jest": "^30.0.0",
"prettier": "^3.4.2",
"prisma": "^7.8.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
},
"jest": {
"maxWorkers": 1,
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": "(src|test)/.*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
{
"tsconfig": {
"module": "commonjs",
"moduleResolution": "node",
"resolvePackageJsonExports": false
}
}
]
},
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.spec.ts",
"!src/**/*-spec.ts",
"!src/**/*.e2e-spec.ts",
"!src/**/*.d.ts",
"!src/main.ts"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"clover",
"json-summary"
],
"testEnvironment": "node",
"setupFiles": [
"<rootDir>/test/setup-env.ts"
]
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
},
"overrides": {
"brace-expansion": "5.0.8",
"js-yaml": "5.2.2",
"find-my-way": "9.7.0",
"valibot": "1.4.2",
"eslint": {
"minimatch": "10.2.5"
},
"@eslint/eslintrc": {
"minimatch": "10.2.5"
},
"@eslint/config-array": {
"minimatch": "10.2.5"
},
"@nestjs/cli": {
"fork-ts-checker-webpack-plugin": {
"minimatch": "10.2.5"
}
},
"@opentelemetry/propagator-jaeger": "2.9.0",
"@stellar/stellar-sdk": {
"axios": "1.18.1"
}
}
}