-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
87 lines (87 loc) · 2.5 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
{
"name": "@nest-http/private",
"description": "",
"author": "Innei <https://innei.in>",
"private": true,
"license": "MIT",
"packageManager": "pnpm@8.7.6",
"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": "if [ \"$NODE_ENV\" = \"production\" ]; then echo 'skip prepare in production' ;else corepack enable && husky install && pnpm run prisma:generate; fi",
"prebuild": "rimraf dist && pnpm run prisma:generate",
"init": "pnpm run prisma:generate && pnpm run migrate:dev",
"build": "pnpm -C \"apps/core\" run build",
"dev": "pnpm -C \"apps/core\" run start",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"pretest": "dotenv -e .env.test pnpm -C prisma run migrate:dev",
"test": "dotenv -e .env.test vitest",
"migrate:dev": "pnpm -C prisma run migrate:dev",
"migrate:deploy": "pnpm -C prisma run migrate:deploy",
"prisma:generate": "pnpm -C prisma run build"
},
"dependencies": {
"bcrypt": "5.1.1",
"cross-env": "7.0.3",
"lodash": "4.17.21",
"prisma": "5.7.0"
},
"devDependencies": {
"@innei/bump-version": "^1.5.10",
"@innei/eslint-config-ts": "^0.12.0",
"@innei/prettier": "^0.12.0",
"@nestjs/cli": "10.2.1",
"@nestjs/schematics": "10.0.3",
"@nestjs/testing": "10.2.10",
"@swc/cli": "0.1.63",
"@types/bcrypt": "5.0.2",
"@types/lodash": "4.14.202",
"dayjs": "1.11.10",
"dotenv-cli": "7.3.0",
"eslint": "^8.55.0",
"husky": "8.0.3",
"ioredis": "^5.3.2",
"lint-staged": "15.2.0",
"prettier": "3.1.0",
"redis-memory-server": "0.10.0",
"rimraf": "5.0.5",
"snakecase-keys": "5.5.0",
"ts-loader": "9.5.1",
"tsconfig-paths": "4.2.0",
"typescript": "^5.3.3",
"unplugin-swc": "1.4.4",
"vite": "5.0.7",
"vite-tsconfig-paths": "4.2.2",
"vitest": "1.0.2",
"zod": "3.22.4",
"zod-fixture": "2.5.1",
"zod-prisma-types": "3.1.6",
"zx": "7.2.3"
},
"resolutions": {
"pino": "./external/pino",
"*>typescript": "^5.2.2",
"*>lodash": "4.17.21"
},
"redisMemoryServer": {
"downloadDir": "./tmp/redis/binaries",
"version": "6.0.10",
"disablePostinstall": "1",
"systemBinary": "/opt/homebrew/bin/redis-server"
}
}