-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
120 lines (120 loc) · 3.75 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
{
"name": "nest-http",
"version": "0.0.1",
"description": "",
"author": "Innei <https://innei.ren>",
"private": true,
"license": "MIT",
"packageManager": "pnpm@9.14.4",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.prettierignore --write ",
"eslint --cache --fix"
]
},
"bump": {
"before": [
"git pull --rebase"
]
},
"scripts": {
"prepare": "corepack enable && husky install",
"prebuild": "rimraf dist",
"build": "pnpm run build:external && nest build",
"build:external": "pnpm -C \"packages/external\" run build",
"dev": "pnpm run build:external && npm run start",
"bundle": "rimraf out && pnpm run build && cd dist/src && npx ncc build main.js -o ../../out -m",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "pnpm run build:external && cross-env NODE_ENV=development nest start -w",
"start:debug": "pnpm run build:external && cross-env NODE_ENV=development nest start --debug --watch",
"start:prod": "pnpm run build:external && cross-env NODE_ENV=production node out/index.js",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"prod": "cross-env NODE_ENV=production pm2-runtime start ecosystem.config.js",
"prod:pm2": "cross-env NODE_ENV=production pm2 restart ecosystem.config.js",
"prod:stop": "pm2 stop ecosystem.config.js",
"prod:debug": "cross-env NODE_ENV=production nest start --debug --watch",
"test": "pnpm run build:external && vitest"
},
"dependencies": {
"@nest-http/external": "workspace:*",
"@nestjs/cache-manager": "2.3.0",
"@nestjs/common": "10.4.13",
"@nestjs/core": "10.4.13",
"@nestjs/jwt": "10.2.0",
"@nestjs/mapped-types": "^2.0.6",
"@nestjs/passport": "10.0.3",
"@nestjs/platform-fastify": "10.4.13",
"@nestjs/schedule": "4.1.1",
"@typegoose/auto-increment": "4.8.0",
"@typegoose/typegoose": "12.9.1",
"axios": "1.7.9",
"bcryptjs": "2.4.3",
"cache-manager": "5.4.0",
"cache-manager-ioredis": "2.1.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"class-validator-jsonschema": "^5.0.1",
"cron": "^3.2.1",
"dayjs": "1.11.13",
"es-toolkit": "1.29.0",
"mongoose": "8.8.4",
"mongoose-paginate-v2": "1.8.5",
"nanoid": "^5.0.9",
"nestjs-pretty-logger": "0.3.1",
"passport": "0.7.0",
"passport-jwt": "4.0.1",
"picocolors": "1.1.1",
"redis": "4.7.0",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.1",
"snakecase-keys": "8.0.1",
"yargs": "17.7.2"
},
"devDependencies": {
"@innei/bump-version": "^1.5.10",
"@innei/prettier": "^0.15.0",
"@nestjs/cli": "10.4.8",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.13",
"@swc/cli": "0.5.2",
"@swc/core": "1.10.0",
"@sxzz/eslint-config": "4.5.1",
"@types/bcryptjs": "2.4.6",
"@types/cache-manager": "4.0.6",
"@types/node": "22.10.1",
"@types/passport-jwt": "4.0.1",
"@types/supertest": "6.0.2",
"@types/ua-parser-js": "0.7.39",
"@types/yargs": "17.0.33",
"@vercel/ncc": "0.38.3",
"cross-env": "7.0.3",
"eslint": "^9.16.0",
"husky": "9.1.7",
"ioredis": "^5.4.1",
"lint-staged": "15.2.10",
"prettier": "3.4.2",
"rimraf": "6.0.1",
"rollup-plugin-swc": "0.2.1",
"source-map-support": "*",
"ts-loader": "9.5.1",
"tsconfig-paths": "4.2.0",
"tsup": "8.3.5",
"typescript": "^5.7.2",
"unplugin-swc": "1.5.1",
"vite-tsconfig-paths": "4.2.2",
"vitest": "2.1.8"
},
"optionalDependencies": {
"mongodb-memory-server": "10.1.2",
"redis-memory-server": "0.11.0"
},
"resolutions": {
"pino": "./external/pino",
"typescript": "^5.3.3"
}
}