Skip to content

Commit

Permalink
feat(build):增加 vue-tsc 依赖和 typecheck 命令
Browse files Browse the repository at this point in the history
  • Loading branch information
build-admin committed Jun 10, 2024
1 parent 12b829f commit 330295e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "vite build && esno ./src/utils/build.ts",
"lint": "eslint --ext .js,.jsx,.ts,.vue src",
"lint-fix": "eslint --ext .js,.jsx,.ts,.vue src --fix",
"format": "npx prettier --write ."
"format": "npx prettier --write .",
"typecheck": "vue-tsc --noEmit"
},
"dependencies": {
"@element-plus/icons-vue": "2.3.1",
Expand Down Expand Up @@ -48,6 +49,7 @@
"sass": "1.77.4",
"typescript": "5.4.5",
"vite": "5.2.12",
"vue-eslint-parser": "9.4.3"
"vue-eslint-parser": "9.4.3",
"vue-tsc": "^2.0.21"
}
}
1 change: 1 addition & 0 deletions web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"isolatedModules": true,
"baseUrl": "./",
"allowJs": true,
"skipLibCheck": true,
"paths": {
"/@/*": ["src/*"]
},
Expand Down

0 comments on commit 330295e

Please sign in to comment.