-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
117 lines (117 loc) · 3.61 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
{
"name": "compass-service",
"version": "0.0.1",
"description": "",
"author": "[email protected]",
"private": true,
"license": "MIT",
"scripts": {
"build": "nest build",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\" \"shared/**/*.ts\"",
"start": "nest start",
"dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "sh start.sh",
"seed": "ts-node -r tsconfig-paths/register --transpile-only deploy/seed.ts",
"seed:rollback": "ts-node -r tsconfig-paths/register --transpile-only deploy/seed-rollback.ts",
"lint": "eslint \"{src,apps,libs,test,shared}/**/*.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 ./apps/compass-service/test/jest-e2e.json"
},
"dependencies": {
"@compass-aiden/telegram": "^1.1.4",
"@compass-aiden/utils": "^1.6.1",
"@liaoliaots/nestjs-redis": "^9.0.5",
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/jwt": "^10.0.3",
"@nestjs/passport": "^9.0.3",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/swagger": "^6.2.1",
"@nestjs/throttler": "^4.0.0",
"@prisma/client": "^4.12.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"date-fns": "^2.29.3",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"got": "^12.6.0",
"helmet": "^6.0.1",
"ioredis": "^5.3.1",
"lodash": "^4.17.21",
"nestjs-throttler-storage-redis": "^0.3.0",
"node-forge": "^1.3.1",
"nodemailer": "^6.9.1",
"openai": "^3.2.1",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"prisma": "^4.12.0",
"prisma-docs-generator": "^0.6.0",
"reflect-metadata": "^0.1.13",
"request-ip": "^3.3.0",
"rxjs": "^7.2.0"
},
"devDependencies": {
"@compass-aiden/eslint-config": "^1.4.1",
"@nestjs/cli": "^9.0.0",
"@nestjs/schematics": "^9.0.0",
"@nestjs/testing": "^9.0.0",
"@types/express": "^4.17.13",
"@types/jest": "29.2.4",
"@types/lodash": "^4.14.192",
"@types/node": "18.11.18",
"@types/node-forge": "^1.3.2",
"@types/nodemailer": "^6.4.7",
"@types/request-ip": "^0.0.37",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.0.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.0.0",
"jest": "29.3.1",
"prettier": "^2.3.2",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "29.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "4.1.1",
"typescript": "^4.7.4",
"webpack": "^5.76.3"
},
"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>/apps/",
"<rootDir>/libs/",
"<rootDir>/shared/"
],
"moduleNameMapper": {
"^@app/db(|/.*)$": "<rootDir>/libs/db/src/$1",
"^@app/email(|/.*)$": "<rootDir>/libs/email/src/$1",
"^@shared(|/.*)$": "<rootDir>/shared/$1",
"^@app/redis-manager(|/.*)$": "<rootDir>/libs/redis-manager/src/$1"
}
}
}