-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.53 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.53 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
{
"name": "nest-rest-scaffold",
"private": false,
"version": "1.0.0",
"description": "Nest REST TypeScript starter repository",
"license": "MIT",
"author": "Fer8a",
"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",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/jest/bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"prepare": "husky && echo 'npx lint-staged' > .husky/pre-commit && echo 'npm run test:e2e' > .husky/pre-push"
},
"engines": {
"npm": ">=10.0.0",
"node": ">=20.0.0"
},
"dependencies": {
"@fastify/helmet": "^13.1.0",
"@fastify/static": "^9.3.0",
"@nestjs/axios": "^4.0.1",
"@nestjs/cache-manager": "^3.1.3",
"@nestjs/common": "^11.1.28",
"@nestjs/config": "^4.0.4",
"@nestjs/core": "^11.1.28",
"@nestjs/microservices": "^11.1.28",
"@nestjs/mongoose": "^11.0.4",
"@nestjs/platform-fastify": "^11.1.10",
"@nestjs/swagger": "11.4.5",
"@nestjs/terminus": "^11.1.1",
"@opentelemetry/api": "^1.9.1",
"@opentelemetry/auto-instrumentations-node": "^0.79.0",
"@opentelemetry/sdk-node": "^0.221.0",
"@prisma/client": "^6.19.3",
"axios": "^1.19.0",
"cache-manager": "^7.2.9",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"esbuild": "^0.28.1",
"kafkajs": "^2.2.4",
"mongoose": "^9.9.1",
"nestjs-pino": "^4.6.1",
"pino-http": "^11.0.0",
"qs": "^6.15.3",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"uuid": "^14.0.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.6",
"@eslint/js": "^10.0.1",
"@golevelup/ts-jest": "^3.0.0",
"@nestjs/cli": "^11.0.24",
"@nestjs/schematics": "^11.1.0",
"@nestjs/testing": "^11.1.28",
"@swc/cli": "^0.8.1",
"@swc/core": "^1.15.47",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/node": "^26.1.2",
"@types/supertest": "^7.2.1",
"eslint": "^10.8.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.6",
"globals": "^17.9.0",
"husky": "^9.1.7",
"jest": "^30.4.2",
"lint-staged": "^16.4.0",
"nock": "^14.0.17",
"pino-pretty": "^13.1.3",
"prettier": "^3.9.6",
"prisma": "^6.19.3",
"source-map-support": "^0.5.21",
"supertest": "^7.2.2",
"ts-jest": "^29.4.12",
"ts-loader": "^9.6.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.66.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"@/(.*)": "<rootDir>/$1"
}
},
"lint-staged": {
"**/*.{js,ts}": [
"npm run lint",
"npm run format",
"npm run test --bail --findRelatedTests src/**/*spec.ts"
]
},
"pnpm": {
"onlyBuiltDependencies": [
"@nestjs/core",
"@swc/core"
]
},
"prisma": {
"schema": "src/config/db/prisma/schema.prisma"
}
}