mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 14:41:29 +00:00
feat(build):增加 vue-tsc 依赖和 typecheck 命令
This commit is contained in:
parent
12b829f1de
commit
330295e95f
@ -8,7 +8,8 @@
|
|||||||
"build": "vite build && esno ./src/utils/build.ts",
|
"build": "vite build && esno ./src/utils/build.ts",
|
||||||
"lint": "eslint --ext .js,.jsx,.ts,.vue src",
|
"lint": "eslint --ext .js,.jsx,.ts,.vue src",
|
||||||
"lint-fix": "eslint --ext .js,.jsx,.ts,.vue src --fix",
|
"lint-fix": "eslint --ext .js,.jsx,.ts,.vue src --fix",
|
||||||
"format": "npx prettier --write ."
|
"format": "npx prettier --write .",
|
||||||
|
"typecheck": "vue-tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@element-plus/icons-vue": "2.3.1",
|
"@element-plus/icons-vue": "2.3.1",
|
||||||
@ -48,6 +49,7 @@
|
|||||||
"sass": "1.77.4",
|
"sass": "1.77.4",
|
||||||
"typescript": "5.4.5",
|
"typescript": "5.4.5",
|
||||||
"vite": "5.2.12",
|
"vite": "5.2.12",
|
||||||
"vue-eslint-parser": "9.4.3"
|
"vue-eslint-parser": "9.4.3",
|
||||||
|
"vue-tsc": "^2.0.21"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"/@/*": ["src/*"]
|
"/@/*": ["src/*"]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user