-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
147 lines (147 loc) · 4.2 KB
/
package.json
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
{
"name": "nestjs.sagas.cqrs",
"version": "1.0.0",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"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/.bin/jest --runInBand",
"test:e2e": "jest --config ./tests/jest-e2e.json",
"seed": "ts-node ./prisma/seed.ts"
},
"dependencies": {
"@automapper/classes": "^7.0.2",
"@automapper/core": "^7.0.2",
"@automapper/nestjs": "^7.0.2",
"@automapper/pojos": "^7.0.2",
"@golevelup/nestjs-rabbitmq": "^2.2.0",
"@nestjs/axios": "^0.0.7",
"@nestjs/common": "^8.1.2",
"@nestjs/config": "^2.0.0",
"@nestjs/core": "^8.0.0",
"@nestjs/cqrs": "^8.0.0",
"@nestjs/jwt": "^8.0.0",
"@nestjs/microservices": "^8.2.3",
"@nestjs/passport": "^8.0.1",
"@nestjs/platform-express": "^8.0.0",
"@nestjs/schedule": "^1.0.1",
"@nestjs/swagger": "^5.1.4",
"@nestjs/terminus": "^8.0.1",
"@nestjs/throttler": "^2.0.0",
"@prisma/client": "^3.12.0",
"@sentry/node": "^6.15.0",
"@tuanitpro/mailer": "^2.0.1",
"@types/uuid": "^8.3.3",
"amqp-connection-manager": "^4.1.1",
"amqplib": "^0.8.0",
"cache-manager": "^3.4.4",
"cache-manager-redis-store": "^2.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.1",
"cls-hooked": "^4.2.2",
"compression": "^1.7.4",
"cookie-parser": "^1.4.5",
"es6-shim": "^0.35.6",
"fastify": "^3.22.1",
"helmet": "^5.0.2",
"husky": "^7.0.4",
"jwks-rsa": "^2.0.5",
"lint-staged": "^12.0.2",
"lodash": "^4.17.21",
"nodemailer": "^6.7.0",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"redis": "^4.0.6",
"reflect-metadata": "^0.1.13",
"request": "^2.88.2",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"swagger-ui-express": "^4.1.6"
},
"devDependencies": {
"@nestjs/cli": "^8.0.0",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@types/cache-manager": "^3.4.2",
"@types/cookie-parser": "^1.4.2",
"@types/cron": "^1.7.3",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.1",
"@types/multer": "^1.4.7",
"@types/node": "^17.0.23",
"@types/nodemailer": "^6.4.4",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.2.5",
"prettier": "^2.3.2",
"prisma": "^3.12.0",
"source-map-support": "^0.5.20",
"supertest": "^6.1.6",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.5.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDirs": [
"src",
"tests"
],
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"testTimeout": 30000,
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"@/(.*)$": "<rootDir>/src/$1",
"@config/(.*)$": "<rootDir>/config/$1",
"@common/(.*)$": "<rootDir>/common/$1",
"@database/(.*)$": "<rootDir>/database/$1",
"@interceptors/(.*)$": "<rootDir>/interceptors/$1",
"@modules/(.*)$": "<rootDir>/modules/$1",
"@models/(.*)$": "<rootDir>/models/$1",
"@queues/(.*)$": "<rootDir>/queues/$1",
"@services/(.*)$": "<rootDir>/services/$1",
"@controllers/(.*)$": "<rootDir>/controllers/$1"
}
},
"lint-staged": {
"*.{js,jsx}": [
"npm run lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}