fix: 修复干净环境 lint 与类型检查依赖构建
This commit is contained in:
1 parent
82381a5e93
commit
e194e605f9
2 files changed
+3
-2
No files matched your search
@@ -4,6 +4,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
|
"postinstall": "prisma generate",
|
||||||
"dev": "pnpm build && node --env-file=.env --watch dist/main.js",
|
"dev": "pnpm build && node --env-file=.env --watch dist/main.js",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||||
|
|||||||
+2
-2
@@ -3,8 +3,8 @@
|
|||||||
"tasks": {
|
"tasks": {
|
||||||
"build": { "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**"] },
|
"build": { "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**"] },
|
||||||
"dev": { "cache": false, "persistent": true },
|
"dev": { "cache": false, "persistent": true },
|
||||||
"lint": { "dependsOn": ["^lint"], "outputs": [] },
|
"lint": { "dependsOn": ["^build"], "outputs": [] },
|
||||||
"typecheck": { "dependsOn": ["^typecheck"], "outputs": [] },
|
"typecheck": { "dependsOn": ["^build"], "outputs": [] },
|
||||||
"clean": { "cache": false }
|
"clean": { "cache": false }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user