/
package.json
163 lines (163 loc) · 4.83 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
{
"name": "watch-box",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"license": "UNLICENSED",
"engines": {
"node": ">=14.18.0"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "prettier \"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\"",
"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 ./test/jest-e2e.json",
"typeorm": "ts-node ./node_modules/typeorm/cli -f ./ormconfig.json",
"deploy": "npm ci && npm run build && npm run start:prod"
},
"dependencies": {
"@nestjs/axios": "^2.0.0",
"@nestjs/common": "^8.1.1",
"@nestjs/core": "^8.0.0",
"@nestjs/jwt": "^8.0.0",
"@nestjs/mapped-types": "*",
"@nestjs/passport": "^8.0.1",
"@nestjs/platform-express": "^8.0.0",
"@nestjs/platform-socket.io": "^8.2.4",
"@nestjs/schedule": "^2.1.0",
"@nestjs/swagger": "^5.1.4",
"@nestjs/websockets": "^8.2.4",
"@sendgrid/mail": "^7.6.0",
"@socket.io/redis-adapter": "^7.1.0",
"@types/body-parser": "^1.19.2",
"@types/cache-manager": "^3.4.2",
"@types/cache-manager-redis-store": "^2.0.1",
"@types/cookie": "^0.4.1",
"@types/express-http-proxy": "^1.6.3",
"@types/http-proxy-middleware": "^1.0.0",
"@types/image-size": "^0.8.0",
"@types/lodash": "^4.14.186",
"@types/multer": "^1.4.7",
"@types/redis": "2.8.32",
"@types/uuid": "^8.3.4",
"@types/ws": "^8.2.2",
"aws-sdk": "^2.1118.0",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.1",
"cache-manager": "^3.6.0",
"cache-manager-redis-store": "^2.0.0",
"class-transformer": "0.5.1",
"class-validator": "^0.13.1",
"cookie": "^0.4.1",
"express-basic-auth": "^1.2.0",
"express-http-proxy": "^1.6.3",
"googleapis": "^110.0.0",
"http-proxy-middleware": "^2.0.5",
"image-size": "^1.0.0",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"mjml": "^4.12.0",
"moment": "^2.29.3",
"mysql2": "^2.3.2",
"nest-winston": "^1.6.1",
"nestjs-redis": "git+https://github.com/GyanendroKh/nestjs-redis.git#nest8-fix",
"nestjs-redis-cluster": "^2.0.1",
"nodemailer": "^6.7.3",
"nodemailer-sendgrid": "^1.0.3",
"passport": "^0.5.0",
"passport-custom": "^1.1.1",
"passport-google-oauth20": "^2.0.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"qs": "^6.10.1",
"raw-body": "^2.4.2",
"redis": "^4.0.6",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"socket.io": "^4.4.1",
"socket.io-redis": "^6.1.1",
"swagger-ui-express": "^4.1.6",
"typeorm": "^0.2.38",
"winston": "^3.3.3",
"winston-transport-sentry-node": "^2.3.0",
"ws": "^8.4.0"
},
"devDependencies": {
"@nestjs/cli": "^8.0.0",
"@nestjs/config": "^1.0.2",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@nestjs/typeorm": "^8.0.2",
"@types/axios": "^0.14.0",
"@types/bcryptjs": "^2.4.2",
"@types/cron": "^2.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.1",
"@types/md5": "^2.3.1",
"@types/mjml": "^4.7.0",
"@types/moment": "^2.13.0",
"@types/node": "^18.11.18",
"@types/nodemailer": "^6.4.4",
"@types/nodemailer-sendgrid": "^1.0.0",
"@types/passport-google-oauth20": "^2.0.11",
"@types/passport-jwt": "^3.0.6",
"@types/passport-local": "^1.0.34",
"@types/qs": "^6.9.7",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.2.5",
"pre-commit": "^1.2.2",
"pre-push": "^0.1.4",
"prettier": "^2.3.2",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.9.4",
"webpack": "^5.72.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"
},
"pre-commit": [
"format",
"lint",
"build"
],
"pre-push": [
"test"
]
}