-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
162 lines (162 loc) · 4.99 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
{
"name": "dolphin-admin-nest",
"description": "Dolphin Admin Nest is the back-end service of Dolphin Admin, based on Nest.js, TypeScript, Prisma and PostgresSQL.",
"author": "Bruce Song <[email protected]> (https://github.com/recallwei/)",
"repository": {
"type": "git",
"url": "https://github.com/bit-ocean-studio/dolphin-admin-nest"
},
"bugs": {
"url": "https://github.com/bit-ocean-studio/dolphin-admin-nest/issues"
},
"scripts": {
"dev": "nest start -w",
"start": "nest start",
"debug": "nest start -w",
"build": "nest build",
"build:webpack": "nest build --webpack",
"clean": "rm -rf dist",
"prod": "node dist/main",
"docker:dev": "docker-compose up -d && pnpm dev",
"pm2:dev": "pnpm pm2 start ecosystem.config.js --env development",
"pm2:staging": "pnpm pm2 start ecosystem.config.js --env staging",
"pm2:prod": "pnpm pm2 start ecosystem.config.js --env production",
"type:check": "tsc --pretty --noEmit",
"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",
"prisma:generate": "prisma generate",
"prisma:generate:watch": "prisma generate --watch",
"prisma:migrate:dev": "prisma migrate dev --skip-seed",
"prisma:migrate:deploy": "prisma migrate deploy",
"prisma:seed": "prisma db seed",
"prisma:reset": "prisma migrate reset",
"prisma:studio": "prisma studio",
"prisma:validate": "prisma validate",
"prisma:format": "prisma format",
"cspell:check": "cspell \"**\"",
"eslint:check": "eslint \"{src,apps,libs,test}/**/*.ts\" --color",
"eslint:fix": "pnpm eslint:check --fix",
"prettier:check": "prettier --check --ignore-unknown .",
"prettier:fix": "prettier --write --ignore-unknown .",
"cz": "git-cz",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install"
},
"dependencies": {
"@dolphin-admin/bootstrap-animation": "^0.0.6",
"@dolphin-admin/utils": "^0.0.23",
"@nestjs/axios": "^3.0.1",
"@nestjs/bull": "^10.0.1",
"@nestjs/common": "^10.3.0",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.3.0",
"@nestjs/event-emitter": "^2.0.3",
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "2.0.4",
"@nestjs/mongoose": "^10.0.2",
"@nestjs/passport": "^10.0.3",
"@nestjs/platform-express": "^10.3.0",
"@nestjs/schedule": "^4.0.0",
"@nestjs/swagger": "^7.1.17",
"@nestjs/throttler": "^5.1.1",
"@node-rs/bcrypt": "^1.9.1",
"@prisma/client": "5.8.0",
"axios": "^1.6.5",
"bull": "^4.12.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"compression": "^1.7.4",
"cos-nodejs-sdk-v5": "^2.12.6",
"cron": "3.1.3",
"dayjs": "^1.11.10",
"helmet": "^7.1.0",
"joi": "^17.11.0",
"lodash": "^4.17.21",
"mongoose": "^8.0.4",
"ms": "^2.1.3",
"multer": "1.4.5-lts.1",
"nestjs-i18n": "^10.4.0",
"nodemailer": "^6.9.8",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"picocolors": "^1.0.0",
"pug": "^3.0.2",
"redis": "^4.6.12",
"reflect-metadata": "^0.1.14",
"rxjs": "^7.8.1",
"ua-parser-js": "^2.0.0-beta.1",
"uuid": "^9.0.1"
},
"devDependencies": {
"@brucesong/eslint-config-ts": "^1.0.17",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@nestjs/cli": "^10.3.0",
"@nestjs/schematics": "^10.1.0",
"@nestjs/testing": "^10.3.0",
"@swc/cli": "^0.1.63",
"@swc/core": "^1.3.102",
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/lodash": "^4.14.202",
"@types/ms": "^0.7.34",
"@types/multer": "^1.4.11",
"@types/node": "^20.11.0",
"@types/nodemailer": "^6.4.14",
"@types/passport-jwt": "^4.0.0",
"@types/supertest": "^6.0.2",
"@types/uuid": "^9.0.7",
"commitizen": "^4.3.0",
"cspell": "^8.3.2",
"cz-git": "^1.8.0",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"pm2": "^5.3.0",
"prettier": "^3.2.1",
"prisma": "^5.8.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"@/(.*)": "<rootDir>/$1"
}
},
"prisma": {
"schema": "prisma/schema.prisma",
"seed": "ts-node prisma/seed.ts"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"private": true,
"license": "MIT"
}