-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
128 lines (128 loc) · 3.4 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": "cover-admin-nestjs",
"version": "0.0.1",
"description": "",
"author": {
"name": "hacxy",
"email": "hacxy.js@outlook.com",
"url": "https://github.com/hacxy"
},
"license": "MIT",
"scripts": {
"dev": "nest start --watch",
"build": "prisma generate && nest build",
"start": "nest start",
"start:dev": "nest start --watch",
"debug": "nest start --debug --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"commit": "git-cz",
"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",
"db:g": "prisma generate",
"db:m": "prisma migrate dev --name cover_dev",
"db:s": "prisma studio",
"db:seed": "prisma db seed",
"db:reset": "prisma migrate reset",
"db:deploy": "prisma migrate deploy",
"postinstall": "simple-git-hooks"
},
"dependencies": {
"@nestjs-modules/ioredis": "^2.0.2",
"@nestjs/axios": "^3.1.1",
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.0.0",
"@nestjs/event-emitter": "^2.1.1",
"@nestjs/jwt": "^10.2.0",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/swagger": "^8.0.1",
"@prisma/client": "^5.22.0",
"axios": "^1.7.7",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"dayjs": "^1.11.13",
"express": "^4.21.1",
"ioredis": "^5.4.1",
"ip-address": "^10.0.1",
"nestjs-i18n": "^10.5.0",
"nestjs-pino": "^4.1.0",
"node-xlsx": "^0.24.0",
"openai": "^4.76.0",
"pino-http": "^10.3.0",
"pino-pretty": "^13.0.0",
"prisma": "^5.22.0",
"redis-info": "^3.1.0",
"reflect-metadata": "^0.2.0",
"request-ip": "^3.3.0",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@lakyjs/eslint-config": "^0.0.1",
"@nestjs/cli": "^10.0.0",
"@nestjs/mapped-types": "^2.0.5",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@swc/cli": "^0.5.1",
"@swc/core": "^1.9.3",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.2",
"@types/multer": "^1.4.11",
"@types/node": "^20.3.1",
"@types/supertest": "^6.0.0",
"commitizen": "^4.3.1",
"cz-git": "^1.11.0",
"eslint": "^9.15.0",
"jest": "^29.5.0",
"laky": "^0.3.3",
"lint-staged": "^15.2.10",
"simple-git-hooks": "^2.11.1",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.2",
"typescript": "^5.1.3"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx laky check --commit-msg"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"prisma": {
"seed": "npx tsx prisma/seed.ts"
}
}