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",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"postinstall": "prisma generate",
|
||||
"dev": "pnpm build && node --env-file=.env --watch dist/main.js",
|
||||
"lint": "eslint .",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@
|
||||
"tasks": {
|
||||
"build": { "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**"] },
|
||||
"dev": { "cache": false, "persistent": true },
|
||||
"lint": { "dependsOn": ["^lint"], "outputs": [] },
|
||||
"typecheck": { "dependsOn": ["^typecheck"], "outputs": [] },
|
||||
"lint": { "dependsOn": ["^build"], "outputs": [] },
|
||||
"typecheck": { "dependsOn": ["^build"], "outputs": [] },
|
||||
"clean": { "cache": false }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user