ci: 增加 vue-tsc 校验脚本

This commit is contained in:
hooray
2022-10-21 03:59:06 +08:00
parent fe6d81c08d
commit 7f42710a55
2 changed files with 125 additions and 41 deletions
+3
View File
@@ -8,6 +8,8 @@
"serve": "http-server ./dist -o",
"svgo": "svgo -f src/assets/icons",
"new": "plop",
"lint": "npm-run-all -s lint:tsc lint:eslint lint:stylelint",
"lint:tsc": "vue-tsc --noEmit",
"lint:eslint": "eslint src/**/*.{ts,tsx,vue} --fix",
"lint:stylelint": "stylelint src/**/*.{css,scss,vue} --fix",
"prepare": "husky install",
@@ -54,6 +56,7 @@
"http-server": "^14.1.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"plop": "^3.1.1",
"postcss-html": "^1.5.0",
"sass": "^1.55.0",