Skip to content

Commit

Permalink
build(projects): 更新tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Mar 5, 2022
1 parent f5c56c3 commit f42ee9d
Show file tree
Hide file tree
Showing 13 changed files with 467 additions and 432 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm lint && pnpm typecheck
npm run lint && npm run typecheck
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"dev": "cross-env VITE_HTTP_ENV=test vite",
"dev:prod": "cross-env VITE_HTTP_ENV=prod vite",
"typecheck": "vue-tsc",
"typecheck": "vue-tsc --noEmit",
"build": "npm run typecheck && cross-env VITE_HTTP_ENV=prod vite build",
"build:test": "npm run typecheck && cross-env VITE_HTTP_ENV=test vite build",
"build:vercel": "cross-env VITE_HASH_ROUTE=true vite build",
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@antv/g2plot": "^2.4.9",
"@better-scroll/core": "^2.4.2",
"@vueuse/core": "^7.7.0",
"@vueuse/core": "^7.7.1",
"axios": "^0.26.0",
"clipboard": "^2.0.10",
"colord": "^2.9.2",
Expand Down Expand Up @@ -64,6 +64,7 @@
"@vitejs/plugin-vue": "^2.2.4",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^10.0.0",
"@vue/tsconfig": "^0.1.3",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
Expand All @@ -75,20 +76,20 @@
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.5.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"lint-staged": "^12.3.5",
"mockjs": "^1.1.0",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.5.1",
"rollup-plugin-visualizer": "^5.6.0",
"sass": "^1.49.9",
"typescript": "^4.6.2",
"typescript": "~4.5.5",
"unplugin-icons": "^0.13.2",
"unplugin-vue-components": "^0.17.21",
"vite": "2.8.6",
"vite-plugin-html": "^3.1.0",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-windicss": "^1.8.2",
"vite-plugin-windicss": "^1.8.3",
"vue-tsc": "^0.32.1",
"vueuc": "^0.4.27",
"windicss": "^3.5.1"
Expand Down
Loading

0 comments on commit f42ee9d

Please sign in to comment.