From 215d8bab380728164d7fe2958c2d2d1151fce892 Mon Sep 17 00:00:00 2001 From: Vben <anncwb@126.com> Date: 星期六, 10 四月 2021 21:41:22 +0800 Subject: [PATCH] refactor: refactor store --- package.json | 133 +++++++++++++++++++++++--------------------- 1 files changed, 70 insertions(+), 63 deletions(-) diff --git a/package.json b/package.json index 0b0eae8..f8e2a94 100644 --- a/package.json +++ b/package.json @@ -1,120 +1,127 @@ { "name": "vben-admin", - "version": "2.0.0-rc.18", + "version": "2.2.0", + "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 ", "preview": "npm run build && vite preview", "preview:dist": "vite preview", - "log": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", + "log": "conventional-changelog -p angular -i CHANGELOG.md -s", "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", - "clean:lib": "npx rimraf node_modules", - "typecheck": "vuedx-typecheck .", + "clean:lib": "rimraf node_modules", "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.1.1", - "ant-design-vue": "2.0.0", - "apexcharts": "^3.25.0", + "@vueuse/core": "^4.8.1", + "@zxcvbn-ts/core": "^0.3.0", + "ant-design-vue": "^2.1.2", "axios": "^0.21.1", - "crypto-es": "^1.2.7", + "cropperjs": "^1.5.11", + "crypto-js": "^4.0.0", "echarts": "^5.0.2", - "lodash-es": "^4.17.20", + "lodash-es": "^4.17.21", "mockjs": "^1.1.0", "nprogress": "^0.2.0", "path-to-regexp": "^6.2.0", + "pinia": "^2.0.0-alpha.12", + "print-js": "^1.6.0", "qrcode": "^1.4.4", "sortablejs": "^1.13.0", - "vditor": "^3.8.1", - "vue": "^3.0.5", - "vue-i18n": "9.0.0-rc.2", - "vue-router": "^4.0.3", + "tinymce": "^5.7.1", + "vditor": "^3.8.4", + "vue": "3.0.11", + "vue-i18n": "9.0.0", + "vue-router": "^4.0.6", "vue-types": "^3.0.2", - "vuex": "^4.0.0", - "vuex-module-decorators": "^1.0.1", - "xlsx": "^0.16.9", - "zxcvbn": "^4.4.2" + "xlsx": "^0.16.9" }, "devDependencies": { - "@commitlint/cli": "^11.0.0", - "@commitlint/config-conventional": "^11.0.0", - "@iconify/json": "^1.1.303", - "@ls-lint/ls-lint": "^1.9.2", + "@commitlint/cli": "^12.1.1", + "@commitlint/config-conventional": "^12.1.1", + "@iconify/json": "^1.1.327", "@purge-icons/generated": "^0.7.0", - "@types/fs-extra": "^9.0.7", - "@types/http-proxy": "^1.17.5", - "@types/koa-static": "^4.0.1", + "@types/crypto-js": "^4.0.1", + "@types/fs-extra": "^9.0.10", + "@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/rollup-plugin-visualizer": "^2.6.0", + "@types/qs": "^6.9.6", "@types/sortablejs": "^1.10.6", - "@types/yargs": "^16.0.0", - "@types/zxcvbn": "^4.4.0", - "@typescript-eslint/eslint-plugin": "^4.15.1", - "@typescript-eslint/parser": "^4.15.1", - "@vitejs/plugin-legacy": "^1.3.1", - "@vitejs/plugin-vue": "^1.1.4", - "@vitejs/plugin-vue-jsx": "^1.1.0", - "@vue/compiler-sfc": "^3.0.5", - "@vuedx/typecheck": "^0.6.3", - "@vuedx/typescript-plugin-vue": "^0.6.3", - "autoprefixer": "^10.2.4", + "@typescript-eslint/eslint-plugin": "^4.21.0", + "@typescript-eslint/parser": "^4.21.0", + "@vitejs/plugin-legacy": "^1.3.2", + "@vitejs/plugin-vue": "^1.2.1", + "@vitejs/plugin-vue-jsx": "^1.1.3", + "@vue/compiler-sfc": "3.0.11", + "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.20.0", - "eslint-config-prettier": "^7.2.0", + "eslint": "^7.24.0", + "eslint-config-prettier": "^8.1.0", + "eslint-define-config": "^1.0.7", "eslint-plugin-prettier": "^3.3.1", - "eslint-plugin-vue": "^7.6.0", - "esno": "^0.4.3", + "eslint-plugin-vue": "^7.8.0", + "esno": "^0.5.0", "fs-extra": "^9.1.0", "http-server": "^0.12.3", - "husky": "^5.0.9", - "is-ci": "^2.0.0", + "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.10.0", + "rollup-plugin-visualizer": "5.3.0", + "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.0", - "vite-plugin-compression": "^0.2.1", - "vite-plugin-html": "^2.0.0", - "vite-plugin-imagemin": "^0.2.6", - "vite-plugin-mock": "^2.1.4", + "typescript": "4.2.4", + "vite": "2.1.5", + "vite-plugin-compression": "^0.2.4", + "vite-plugin-html": "^2.0.6", + "vite-plugin-imagemin": "^0.3.0", + "vite-plugin-mock": "^2.5.0", "vite-plugin-purge-icons": "^0.7.0", - "vite-plugin-pwa": "^0.4.7", - "vite-plugin-style-import": "^0.7.2", - "vite-plugin-theme": "^0.4.3", - "vite-plugin-windicss": "^0.2.2", - "vue-eslint-parser": "^7.5.0", - "yargs": "^16.2.0" + "vite-plugin-pwa": "^0.7.0", + "vite-plugin-style-import": "^0.9.2", + "vite-plugin-svg-icons": "^0.4.1", + "vite-plugin-theme": "^0.6.3", + "vite-plugin-windicss": "0.13.1", + "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" + "rollup": "^2.45.1", + "esbuild": "^0.11.6" }, "repository": { "type": "git", @@ -126,6 +133,6 @@ }, "homepage": "https://github.com/anncwb/vue-vben-admin", "engines": { - "node": "^12 || ^14 || ^15 || ^16" + "node": "^12 || >=14" } } -- Gitblit v1.8.0