From 8a14069e71d5393cfa5b758f46a1c5c001fa172b Mon Sep 17 00:00:00 2001 From: Vben <anncwb@126.com> Date: 星期三, 31 三月 2021 23:52:11 +0800 Subject: [PATCH] refactor: refactor dashboard --- package.json | 101 +++++++++++++++++++++++++++----------------------- 1 files changed, 55 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index 3dd4fb8..bab261e 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,15 @@ { "name": "vben-admin", - "version": "2.0.1", + "version": "2.1.1", + "author": { + "name": "vben", + "email": "anncwb@126.com", + "url": "https://github.com/anncwb" + }, "scripts": { "bootstrap": "yarn install", - "serve": "vite", - "dev": "vite", + "serve": "cross-env --max_old_space_size=4096 vite", + "dev": "cross-env --max_old_space_size=4096 vite", "build": "vite build && esno ./build/script/postBuild.ts", "build:no-cache": "yarn clean:cache && npm run build", "report": "cross-env REPORT=true npm run build ", @@ -16,33 +21,37 @@ "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/", - "lint:ls-lint": "ls-lint", "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", "lint:pretty": "pretty-quick --staged", "test:gzip": "http-server dist --cors --gzip -c-1", "test:br": "http-server dist --cors --brotli -c-1", "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", - "postinstall": "is-ci || husky install" + "install:husky": "is-ci || husky install", + "gen:icon": "esno ./build/generate/icon/index.ts", + "postinstall": "npm run install:husky" }, "dependencies": { "@iconify/iconify": "^2.0.0-rc.6", - "@vueuse/core": "^4.3.0", - "@zxcvbn-ts/core": "^0.2.0", - "ant-design-vue": "2.0.1", - "apexcharts": "^3.25.0", + "@vueuse/core": "^4.6.3", + "@zxcvbn-ts/core": "^0.3.0", + "ant-design-vue": "^2.1.2", + "apexcharts": "^3.26.0", "axios": "^0.21.1", + "cropperjs": "^1.5.11", "crypto-js": "^4.0.0", "echarts": "^5.0.2", "lodash-es": "^4.17.21", "mockjs": "^1.1.0", "nprogress": "^0.2.0", "path-to-regexp": "^6.2.0", + "print-js": "^1.6.0", "qrcode": "^1.4.4", "sortablejs": "^1.13.0", - "vditor": "^3.8.1", - "vue": "3.0.5", + "tinymce": "^5.7.1", + "vditor": "^3.8.4", + "vue": "3.0.10", "vue-i18n": "^9.0.0", - "vue-router": "^4.0.4", + "vue-router": "^4.0.5", "vue-types": "^3.0.2", "vuex": "^4.0.0", "vuex-module-decorators": "^1.0.1", @@ -51,69 +60,69 @@ "devDependencies": { "@commitlint/cli": "^12.0.1", "@commitlint/config-conventional": "^12.0.1", - "@iconify/json": "^1.1.308", - "@ls-lint/ls-lint": "^1.9.2", + "@iconify/json": "^1.1.323", "@purge-icons/generated": "^0.7.0", "@types/crypto-js": "^4.0.1", - "@types/fs-extra": "^9.0.7", - "@types/http-proxy": "^1.17.5", + "@types/fs-extra": "^9.0.9", + "@types/inquirer": "^7.3.1", "@types/lodash-es": "^4.17.4", "@types/mockjs": "^1.0.3", "@types/nprogress": "^0.2.0", "@types/qrcode": "^1.4.0", - "@types/qs": "^6.9.5", + "@types/qs": "^6.9.6", "@types/rollup-plugin-visualizer": "^2.6.0", "@types/sortablejs": "^1.10.6", - "@types/yargs": "^16.0.0", - "@typescript-eslint/eslint-plugin": "^4.15.2", - "@typescript-eslint/parser": "^4.15.2", - "@vitejs/plugin-legacy": "^1.3.1", - "@vitejs/plugin-vue": "^1.1.5", + "@typescript-eslint/eslint-plugin": "^4.20.0", + "@typescript-eslint/parser": "^4.20.0", + "@vitejs/plugin-legacy": "^1.3.2", + "@vitejs/plugin-vue": "^1.2.1", "@vitejs/plugin-vue-jsx": "^1.1.2", - "@vue/compiler-sfc": "3.0.5", - "autoprefixer": "^10.2.4", + "@vue/compiler-sfc": "3.0.10", + "autoprefixer": "^10.2.5", "commitizen": "^4.2.3", "conventional-changelog-cli": "^2.1.1", "cross-env": "^7.0.3", "dotenv": "^8.2.0", - "eslint": "^7.21.0", + "eslint": "^7.23.0", "eslint-config-prettier": "^8.1.0", + "eslint-define-config": "^1.0.6", "eslint-plugin-prettier": "^3.3.1", - "eslint-plugin-vue": "^7.6.0", - "esno": "^0.4.4", + "eslint-plugin-vue": "^7.8.0", + "esno": "^0.5.0", "fs-extra": "^9.1.0", "http-server": "^0.12.3", - "husky": "^5.1.1", + "husky": "^6.0.0", + "inquirer": "^8.0.0", "is-ci": "^3.0.0", "less": "^4.1.1", "lint-staged": "^10.5.4", + "postcss": "^8.2.9", "prettier": "^2.2.1", "pretty-quick": "^3.1.0", "rimraf": "^3.0.2", - "rollup-plugin-visualizer": "^4.2.0", - "stylelint": "^13.11.0", + "rollup-plugin-visualizer": "4.2.2", + "stylelint": "^13.12.0", "stylelint-config-prettier": "^8.0.2", - "stylelint-config-standard": "^20.0.0", + "stylelint-config-standard": "^21.0.0", "stylelint-order": "^4.1.0", "ts-node": "^9.1.1", - "typescript": "4.1.5", - "vite": "2.0.4", - "vite-plugin-compression": "^0.2.2", - "vite-plugin-html": "^2.0.2", - "vite-plugin-imagemin": "^0.2.8", - "vite-plugin-mock": "^2.1.5", + "typescript": "4.2.3", + "vite": "2.1.5", + "vite-plugin-compression": "^0.2.3", + "vite-plugin-html": "^2.0.3", + "vite-plugin-imagemin": "^0.2.9", + "vite-plugin-mock": "^2.4.1", "vite-plugin-purge-icons": "^0.7.0", - "vite-plugin-pwa": "^0.5.5", - "vite-plugin-style-import": "^0.7.5", - "vite-plugin-theme": "^0.4.8", - "vite-plugin-windicss": "0.6.2", - "vue-eslint-parser": "^7.5.0", - "yargs": "^16.2.0" + "vite-plugin-pwa": "^0.6.4", + "vite-plugin-style-import": "^0.9.1", + "vite-plugin-svg-icons": "^0.4.0", + "vite-plugin-theme": "^0.5.0", + "vite-plugin-windicss": "0.10.4", + "vue-eslint-parser": "^7.6.0" }, "resolutions": { "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it", - "bin-wrapper": "npm:bin-wrapper-china", - "ecstatic": "4.1.4" + "bin-wrapper": "npm:bin-wrapper-china" }, "repository": { "type": "git", @@ -125,6 +134,6 @@ }, "homepage": "https://github.com/anncwb/vue-vben-admin", "engines": { - "node": "^12 || ^14 || ^15 || ^16" + "node": "^12 || >=14" } } -- Gitblit v1.8.0