1
0
mirror of synced 2026-03-23 02:58:34 +08:00

build: pre-commit检查改成检查ts类型

This commit is contained in:
roymondchen
2024-04-23 15:24:25 +08:00
parent 883e5d60fa
commit 7a9e5ca6f6
14 changed files with 20 additions and 11 deletions

View File

@@ -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"