增加 vue-tsc 校验脚本

This commit is contained in:
hooray
2022-10-21 03:58:48 +08:00
parent e1f58537d5
commit f84b719e22
2 changed files with 125 additions and 41 deletions
+3
View File
@@ -6,6 +6,8 @@
"serve:example": "http-server ./dist-example -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",
@@ -48,6 +50,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",