-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
164 lines (164 loc) · 4.95 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "sky-bot-api",
"version": "1.0.0",
"description": "Awesome API Bot NestJS",
"repository": "https://github.com/SkyZeroZx/API-Sky-Krono",
"author": "SkyZeroZx",
"private": true,
"engines": {
"node": "16.17.0"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"e2e/**/*.ts\"",
"start": "node dist/main",
"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 --forceExit",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./e2e/jest-e2e.json",
"test:e2e:watch": "jest --config ./e2e/jest-e2e.json --watch",
"test:e2e:cov": "jest --config ./e2e/jest-e2e.json --coverage --forceExit",
"sonar": "sonar-scanner"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.204.0",
"@aws-sdk/lib-storage": "^3.204.0",
"@nestjs/axios": "^1.0.0",
"@nestjs/common": "9.1.6",
"@nestjs/config": "^2.2.0",
"@nestjs/core": "9.1.6",
"@nestjs/jwt": "^9.0.0",
"@nestjs/mapped-types": "*",
"@nestjs/passport": "^9.0.0",
"@nestjs/platform-express": "9.1.6",
"@nestjs/schedule": "^2.1.0",
"@nestjs/swagger": "^6.1.2",
"@nestjs/terminus": "^9.1.2",
"@nestjs/typeorm": "^9.0.1",
"@simplewebauthn/server": "^6.3.0-alpha.1",
"@willsoto/nestjs-prometheus": "^4.7.0",
"auth0": "^2.44.1",
"bcryptjs": "^2.4.3",
"cache-manager": "^4.1.0",
"cache-manager-redis-store": "^2.0.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"cors": "^2.8.5",
"date-fns": "^2.29.3",
"date-fns-tz": "^1.3.7",
"dotenv": "^16.0.3",
"generate-password": "^1.7.0",
"helmet": "6.0.0",
"ioredis": "^5.2.3",
"jwks-rsa": "^3.0.0",
"mysql2": "^2.3.3",
"nest-access-control": "^2.2.0",
"nest-winston": "^1.8.0",
"nodemailer": "^6.8.0",
"npm-check-updates": "^16.0.5",
"passport": "^0.6.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"prom-client": "^14.1.0",
"redis": "^4.3.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"swagger-ui-express": "^4.5.0",
"typeorm": "^0.3.10",
"web-push": "^3.5.0",
"winston-daily-rotate-file": "^4.7.1",
"winston-logstash": "^1.0.2",
"winston-loki": "^6.0.6",
"winston-transport": "^4.5.0"
},
"devDependencies": {
"@nestjs/cli": "^9.1.4",
"@nestjs/schematics": "^9.0.3",
"@nestjs/testing": "^9.1.6",
"@simplewebauthn/typescript-types": "^6.3.0-alpha.1",
"@types/auth0": "^2.35.8",
"@types/bcryptjs": "^2.4.2",
"@types/cache-manager": "^4.0.2",
"@types/cors": "^2.8.12",
"@types/cron": "^2.0.0",
"@types/express": "^4.17.13",
"@types/jest": "27.5.0",
"@types/jsonwebtoken": "^8.5.0",
"@types/multer": "^1.4.7",
"@types/node": "^16.0.0",
"@types/nodemailer": "^6.4.6",
"@types/passport-jwt": "^3.0.7",
"@types/passport-local": "^1.0.34",
"@types/supertest": "^2.0.12",
"@types/web-push": "^3.3.2",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "29.2.2",
"jest-sonar": "^0.2.12",
"jest-sonar-reporter": "^2.0.0",
"node-mocks-http": "^1.12.1",
"prettier": "^2.3.2",
"sonar-scanner": "^3.1.0",
"source-map-support": "^0.5.20",
"supertest": "^6.3.1",
"ts-jest": "29.0.3",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "4.0.0",
"typescript": "^4.3.5"
},
"jestSonar": {
"reportPath": "coverage",
"reportFile": "sonar-report.xml",
"indent": 4
},
"jest": {
"moduleNameMapper": {
"^@core(.*)$": "<rootDir>/core/$1"
},
"testTimeout": 15000,
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\**.(controller|service|guard|decorator|interceptor|strategy).spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testResultsProcessor": "jest-sonar-reporter",
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.(t|j)s",
"!**/*.dto.(t|j)s",
"!**/*.entity.(t|j)s",
"!**/**.mock.spec.(t|j)s",
"!**/*.module.(t|j)s",
"!**/*.swagger.(t|j)s",
"!**/*.enum.(t|j)s",
"!**/config/logger/**",
"!**/config/mailer/**",
"!**/config/webpush/**",
"!**core/helpers/**",
"!**core/swagger/**",
"!**core/interceptor/**",
"!**core/interface/**",
"!**core/config/**",
"!**auth/guards/index.(t|j)s",
"!**main.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}