build: pre-commit检查改成检查ts类型
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
"build": "npm run build:type && vite build",
|
||||
"build:type": "npm run clear:type && vue-tsc --declaration --emitDeclarationOnly --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
||||
"clear:type": "rimraf ./types",
|
||||
"type:check": "vue-tsc --noEmit"
|
||||
"check:type": "vue-tsc --noEmit --project tsconfig.build.json"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
|
||||
Reference in New Issue
Block a user