From 07c18d602ec47215c0390096a3fa66b40004d041 Mon Sep 17 00:00:00 2001 From: vben <anncwb@126.com> Date: 星期二, 09 二月 2021 23:47:14 +0800 Subject: [PATCH] chore: add some notes --- package.json | 46 ++++++++++++++++++++++------------------------ 1 files changed, 22 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index a0a1c48..5d321cb 100644 --- a/package.json +++ b/package.json @@ -17,15 +17,18 @@ "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix", "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", - "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap" + "lint:ls-lint": "ls-lint", + "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", + "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", + "postinstall": "is-ci || husky install" }, "dependencies": { "@iconify/iconify": "^2.0.0-rc.6", - "@vueuse/core": "^4.0.12", - "ant-design-vue": "2.0.0-rc.9", + "@vueuse/core": "^4.1.0", + "ant-design-vue": "2.0.0", "apexcharts": "^3.24.0", "axios": "^0.21.1", - "crypto-es": "^1.2.6", + "crypto-es": "^1.2.7", "echarts": "^4.9.0", "lodash-es": "^4.17.20", "mockjs": "^1.1.0", @@ -46,7 +49,7 @@ "devDependencies": { "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", - "@iconify/json": "^1.1.297", + "@iconify/json": "^1.1.299", "@ls-lint/ls-lint": "^1.9.2", "@purge-icons/generated": "^0.6.0", "@types/echarts": "^4.9.3", @@ -56,16 +59,16 @@ "@types/lodash-es": "^4.17.4", "@types/mockjs": "^1.0.3", "@types/nprogress": "^0.2.0", - "@types/qrcode": "^1.3.5", + "@types/qrcode": "^1.4.0", "@types/rollup-plugin-visualizer": "^2.6.0", "@types/sortablejs": "^1.10.6", "@types/yargs": "^16.0.0", "@types/zxcvbn": "^4.4.0", - "@typescript-eslint/eslint-plugin": "^4.14.2", - "@typescript-eslint/parser": "^4.14.2", + "@typescript-eslint/eslint-plugin": "^4.15.0", + "@typescript-eslint/parser": "^4.15.0", "@vitejs/plugin-legacy": "^1.2.3", "@vitejs/plugin-vue": "^1.1.4", - "@vitejs/plugin-vue-jsx": "^1.0.2", + "@vitejs/plugin-vue-jsx": "^1.0.3", "@vue/compiler-sfc": "^3.0.5", "@vuedx/typecheck": "^0.6.3", "@vuedx/typescript-plugin-vue": "^0.6.3", @@ -80,9 +83,10 @@ "eslint-plugin-vue": "^7.5.0", "esno": "^0.4.3", "fs-extra": "^9.1.0", - "husky": "^4.3.8", + "husky": "^5.0.9", + "is-ci": "^2.0.0", "less": "^4.1.1", - "lint-staged": "^10.5.3", + "lint-staged": "^10.5.4", "prettier": "^2.2.1", "rimraf": "^3.0.2", "rollup-plugin-gzip": "^2.5.0", @@ -93,14 +97,14 @@ "stylelint-order": "^4.1.0", "ts-node": "^9.1.1", "typescript": "^4.1.3", - "vite": "2.0.0-beta.64", + "vite": "2.0.0-beta.66", "vite-plugin-html": "^2.0.0", - "vite-plugin-imagemin": "^0.2.2", - "vite-plugin-mock": "2.0.5", + "vite-plugin-imagemin": "^0.2.5", + "vite-plugin-mock": "^2.1.4", "vite-plugin-purge-icons": "^0.6.0", - "vite-plugin-pwa": "^0.4.3", - "vite-plugin-style-import": "^0.6.6", - "vite-plugin-theme": "0.3.8", + "vite-plugin-pwa": "^0.4.6", + "vite-plugin-style-import": "^0.7.2", + "vite-plugin-theme": "^0.4.2", "vue-eslint-parser": "^7.4.1", "yargs": "^16.2.0" }, @@ -117,13 +121,7 @@ "url": "https://github.com/anncwb/vue-vben-admin/issues" }, "homepage": "https://github.com/anncwb/vue-vben-admin", - "husky": { - "hooks": { - "pre-commit": "ls-lint && lint-staged", - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } - }, "engines": { - "node": "^12 || ^14" + "node": "^12 || ^14 || ^15 || ^16" } } -- Gitblit v1.8.0