-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 4.64 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
{
"name": "common-notification-services",
"version": "1.2.0",
"description": "CNS",
"author": "Cheang Ming",
"private": true,
"license": "MIT",
"scripts": {
"build": "nest build",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start": "nest start swc --webpack --webpackPath webpack-hmr.config.js",
"start:dev": "nest start -b swc --watch",
"start:debug": "nest start --debug swc",
"start:prod": "node dist/apps/notification-api/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"start:cns": "concurrently \"nest start -b swc cns-user --watch\" \"nest start -b swc cns-notification-record --watch\" \"nest start -b swc cns-microservices-monitoring --watch\"",
"start:notification": "concurrently \"nest start -b swc notification-api --watch\" \"nest start -b swc worker-service --watch\" \"nest start -b swc dlx-notification-api --watch\"",
"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 ./apps/notification-services/test/jest-e2e.json"
},
"dependencies": {
"@casl/ability": "^6.5.0",
"@casl/mongoose": "^7.2.2",
"@nestjs-modules/mailer": "^1.10.3",
"@nestjs/axios": "^3.0.1",
"@nestjs/cache-manager": "^2.2.2",
"@nestjs/common": "^10.3.1",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.3.1",
"@nestjs/jwt": "^10.2.0",
"@nestjs/microservices": "^10.3.1",
"@nestjs/mongoose": "^10.0.2",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.3.1",
"@nestjs/schedule": "^4.0.0",
"@nestjs/swagger": "^7.2.0",
"@nestjs/terminus": "^10.2.1",
"@nestjs/typeorm": "^10.0.1",
"amqp-connection-manager": "4.1.14",
"amqplib": "^0.10.3",
"axios": "^1.6.7",
"cache-manager": "^5.4.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"handlebars": "^4.7.8",
"lodash": "^4.17.21",
"mongo-gridfs": "^1.1.0",
"mongodb": "^6.3.0",
"mongoose": "^8.1.1",
"nodemailer": "^6.9.8",
"object-replace-mustache": "^2.3.0",
"passport": "^0.7.0",
"passport-headerapikey": "^1.2.2",
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pg": "^8.11.3",
"pug": "^3.0.2",
"reflect-metadata": "^0.1.14",
"rxjs": "^7.8.1",
"typeorm": "^0.3.20",
"uuid": "^9.0.1"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.23",
"@nestjs/cli": "^10.3.0",
"@nestjs/schematics": "^10.1.0",
"@nestjs/testing": "^10.3.1",
"@swc/cli": "^0.1.65",
"@swc/core": "^1.3.107",
"@types/bcrypt": "^5.0.2",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/multer": "^1.4.11",
"@types/node": "^20.11.10",
"@types/passport-jwt": "^3.0.13",
"@types/passport-local": "^1.0.38",
"@types/supertest": "^2.0.16",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"bcrypt": "^5.1.1",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.4",
"run-script-webpack-plugin": "^0.2.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.4",
"swc-loader": "^0.2.3",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3",
"webpack": "^5.90.0",
"webpack-node-externals": "^3.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/libs/",
"<rootDir>/apps/"
],
"moduleNameMapper": {
"^@app/common(|/.*)$": "<rootDir>/libs/common/src/$1",
"^@app/auth(|/.*)$": "<rootDir>/libs/auth/src/$1",
"^@app/config(|/.*)$": "<rootDir>/libs/config/src/$1"
}
}
}