|
@@ -1,13 +1,13 @@
|
|
|
{
|
|
|
- "name": "zfb-4.0",
|
|
|
- "version": "2.8.0",
|
|
|
+ "name": "zfb-mp",
|
|
|
+ "version": "4.0.0",
|
|
|
"scripts": {
|
|
|
- "bootstrap": "yarn install",
|
|
|
+ "bootstrap": "pnpm install",
|
|
|
"serve": "npm run dev",
|
|
|
"dev": "vite",
|
|
|
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
|
|
|
"build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
|
|
|
- "build:no-cache": "yarn clean:cache && npm run build",
|
|
|
+ "build:no-cache": "pnpm clean:cache && npm run build",
|
|
|
"report": "cross-env REPORT=true npm run build",
|
|
|
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
|
|
"preview": "npm run build && vite preview",
|
|
@@ -18,117 +18,129 @@
|
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
|
|
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
|
- "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
|
|
+ "lint:lint-staged": "lint-staged",
|
|
|
"test:unit": "jest",
|
|
|
"test:unit-coverage": "jest --coverage",
|
|
|
"test:gzip": "npx http-server dist --cors --gzip -c-1",
|
|
|
"test:br": "npx http-server dist --cors --brotli -c-1",
|
|
|
- "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
|
|
|
- "prepare": "node -e \"if(require('fs').existsSync('.git')){process.exit(1)}\" || is-ci || husky install",
|
|
|
+ "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
|
|
|
+ "prepare": "node -e \"if(require('fs').existsSync('.git')){process.exit(1)}\" || husky install",
|
|
|
"gen:icon": "esno ./build/generate/icon/index.ts"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"@ant-design/colors": "^6.0.0",
|
|
|
"@ant-design/icons-vue": "^6.0.1",
|
|
|
- "@iconify/iconify": "^2.0.4",
|
|
|
- "@vueuse/core": "^6.7.4",
|
|
|
- "@vueuse/shared": "^6.7.4",
|
|
|
- "@zxcvbn-ts/core": "^1.0.0-beta.0",
|
|
|
- "ant-design-vue": "2.2.8",
|
|
|
+ "@iconify/iconify": "^2.1.0",
|
|
|
+ "@logicflow/core": "^0.7.16",
|
|
|
+ "@logicflow/extension": "^0.7.16",
|
|
|
+ "@vue/runtime-core": "^3.2.26",
|
|
|
+ "@vue/shared": "^3.2.26",
|
|
|
+ "@vueuse/core": "^7.4.1",
|
|
|
+ "@vueuse/shared": "^7.4.1",
|
|
|
+ "@zxcvbn-ts/core": "^1.2.0",
|
|
|
+ "ant-design-vue": "3.0.0-beta.3",
|
|
|
"axios": "^0.24.0",
|
|
|
+ "codemirror": "^5.65.0",
|
|
|
"cropperjs": "^1.5.12",
|
|
|
"crypto-js": "^4.1.1",
|
|
|
+ "dayjs": "^1.10.7",
|
|
|
"echarts": "^5.2.2",
|
|
|
+ "intro.js": "^4.3.0",
|
|
|
"lodash-es": "^4.17.21",
|
|
|
"mockjs": "^1.1.0",
|
|
|
"moment": "^2.29.1",
|
|
|
"nprogress": "^0.2.0",
|
|
|
"path-to-regexp": "^6.2.0",
|
|
|
- "pinia": "2.0.0",
|
|
|
- "qrcode": "^1.4.4",
|
|
|
- "qs": "^6.10.1",
|
|
|
+ "pinia": "2.0.9",
|
|
|
+ "print-js": "^1.6.0",
|
|
|
+ "qrcode": "^1.5.0",
|
|
|
+ "qs": "^6.10.2",
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
|
+ "showdown": "^1.9.1",
|
|
|
"sortablejs": "^1.14.0",
|
|
|
"tinymce": "^5.10.2",
|
|
|
- "vue": "^3.2.21",
|
|
|
+ "vditor": "^3.8.10",
|
|
|
+ "vue": "^3.2.26",
|
|
|
"vue-i18n": "^9.1.9",
|
|
|
+ "vue-json-pretty": "^1.8.2",
|
|
|
"vue-router": "^4.0.12",
|
|
|
- "vue-types": "^4.1.1"
|
|
|
+ "vue-types": "^4.1.1",
|
|
|
+ "xlsx": "^0.17.4"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
- "@commitlint/cli": "^14.1.0",
|
|
|
- "@commitlint/config-conventional": "^14.1.0",
|
|
|
- "@iconify/json": "^1.1.422",
|
|
|
+ "@commitlint/cli": "^16.0.1",
|
|
|
+ "@commitlint/config-conventional": "^16.0.0",
|
|
|
+ "@iconify/json": "^2.0.16",
|
|
|
"@purge-icons/generated": "^0.7.0",
|
|
|
"@types/codemirror": "^5.60.5",
|
|
|
"@types/crypto-js": "^4.0.2",
|
|
|
"@types/fs-extra": "^9.0.13",
|
|
|
"@types/inquirer": "^8.1.3",
|
|
|
"@types/intro.js": "^3.0.2",
|
|
|
- "@types/jest": "^27.0.2",
|
|
|
+ "@types/jest": "^27.0.3",
|
|
|
"@types/lodash-es": "^4.17.5",
|
|
|
"@types/mockjs": "^1.0.4",
|
|
|
- "@types/node": "^16.11.6",
|
|
|
+ "@types/node": "^17.0.5",
|
|
|
"@types/nprogress": "^0.2.0",
|
|
|
- "@types/qrcode": "^1.4.1",
|
|
|
+ "@types/qrcode": "^1.4.2",
|
|
|
"@types/qs": "^6.9.7",
|
|
|
"@types/showdown": "^1.9.4",
|
|
|
"@types/sortablejs": "^1.10.7",
|
|
|
- "@typescript-eslint/eslint-plugin": "^5.3.0",
|
|
|
- "@typescript-eslint/parser": "^5.3.0",
|
|
|
- "@vitejs/plugin-legacy": "^1.6.2",
|
|
|
- "@vitejs/plugin-vue": "^1.9.4",
|
|
|
- "@vitejs/plugin-vue-jsx": "^1.2.0",
|
|
|
- "@vue/compiler-sfc": "3.2.21",
|
|
|
- "@vue/test-utils": "^2.0.0-rc.16",
|
|
|
+ "@typescript-eslint/eslint-plugin": "^5.8.1",
|
|
|
+ "@typescript-eslint/parser": "^5.8.1",
|
|
|
+ "@vitejs/plugin-legacy": "^1.6.4",
|
|
|
+ "@vitejs/plugin-vue": "^2.0.1",
|
|
|
+ "@vitejs/plugin-vue-jsx": "^1.3.3",
|
|
|
+ "@vue/compiler-sfc": "3.2.26",
|
|
|
+ "@vue/test-utils": "^2.0.0-rc.18",
|
|
|
"autoprefixer": "^10.4.0",
|
|
|
"commitizen": "^4.2.4",
|
|
|
- "conventional-changelog-cli": "^2.1.1",
|
|
|
+ "conventional-changelog-cli": "^2.2.2",
|
|
|
"cross-env": "^7.0.3",
|
|
|
"dotenv": "^10.0.0",
|
|
|
- "eslint": "^8.1.0",
|
|
|
+ "eslint": "^8.5.0",
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
- "eslint-define-config": "^1.1.2",
|
|
|
- "eslint-plugin-jest": "^25.2.2",
|
|
|
+ "eslint-define-config": "^1.2.1",
|
|
|
+ "eslint-plugin-jest": "^25.3.2",
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
- "eslint-plugin-vue": "^8.0.3",
|
|
|
- "esno": "^0.10.1",
|
|
|
+ "eslint-plugin-vue": "^8.2.0",
|
|
|
+ "esno": "^0.13.0",
|
|
|
"fs-extra": "^10.0.0",
|
|
|
"husky": "^7.0.4",
|
|
|
"inquirer": "^8.2.0",
|
|
|
- "is-ci": "^3.0.1",
|
|
|
- "jest": "^27.3.1",
|
|
|
+ "jest": "^27.4.5",
|
|
|
"less": "^4.1.2",
|
|
|
- "lint-staged": "11.2.6",
|
|
|
+ "lint-staged": "12.1.4",
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
- "postcss": "^8.3.11",
|
|
|
- "postcss-html": "^1.2.0",
|
|
|
+ "postcss": "^8.4.5",
|
|
|
+ "postcss-html": "^1.3.0",
|
|
|
"postcss-less": "^5.0.0",
|
|
|
- "prettier": "^2.4.1",
|
|
|
+ "prettier": "^2.5.1",
|
|
|
"rimraf": "^3.0.2",
|
|
|
"rollup-plugin-visualizer": "^5.5.2",
|
|
|
- "stylelint": "^14.0.1",
|
|
|
+ "stylelint": "^14.2.0",
|
|
|
"stylelint-config-html": "^1.0.0",
|
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
|
- "stylelint-config-standard": "^23.0.0",
|
|
|
+ "stylelint-config-recommended": "^6.0.0",
|
|
|
+ "stylelint-config-standard": "^24.0.0",
|
|
|
"stylelint-order": "^5.0.0",
|
|
|
- "ts-jest": "^27.0.7",
|
|
|
+ "ts-jest": "^27.1.2",
|
|
|
"ts-node": "^10.4.0",
|
|
|
- "typescript": "^4.4.4",
|
|
|
- "vite": "^2.6.13",
|
|
|
- "vite-plugin-compression": "^0.3.5",
|
|
|
- "vite-plugin-html": "^2.1.1",
|
|
|
- "vite-plugin-imagemin": "^0.4.6",
|
|
|
+ "typescript": "^4.5.4",
|
|
|
+ "vite": "^2.7.8",
|
|
|
+ "vite-plugin-compression": "^0.4.0",
|
|
|
+ "vite-plugin-html": "^2.1.2",
|
|
|
+ "vite-plugin-imagemin": "^0.5.1",
|
|
|
"vite-plugin-mock": "^2.9.6",
|
|
|
"vite-plugin-purge-icons": "^0.7.0",
|
|
|
- "vite-plugin-pwa": "^0.11.3",
|
|
|
- "vite-plugin-style-import": "^1.3.0",
|
|
|
+ "vite-plugin-pwa": "^0.11.12",
|
|
|
+ "vite-plugin-style-import": "^1.4.1",
|
|
|
"vite-plugin-svg-icons": "^1.0.5",
|
|
|
"vite-plugin-theme": "^0.8.1",
|
|
|
- "vite-plugin-vue-setup-extend": "^0.1.0",
|
|
|
- "vite-plugin-windicss": "^1.4.12",
|
|
|
+ "vite-plugin-vue-setup-extend": "^0.3.0",
|
|
|
+ "vite-plugin-windicss": "^1.6.1",
|
|
|
"vue-eslint-parser": "^8.0.1",
|
|
|
- "vue-tsc": "^0.28.10"
|
|
|
+ "vue-tsc": "^0.30.1"
|
|
|
},
|
|
|
"resolutions": {
|
|
|
"bin-wrapper": "npm:bin-wrapper-china",
|
|
@@ -137,14 +149,33 @@
|
|
|
},
|
|
|
"repository": {
|
|
|
"type": "git",
|
|
|
- "url": "git+https://github.com/anncwb/vue-vben-admin.git"
|
|
|
+ "url": "git+http://face3d.4dage.com:7005/zhangyupeng/zfb_mp.git "
|
|
|
},
|
|
|
"license": "MIT",
|
|
|
- "bugs": {
|
|
|
- "url": "https://github.com/anncwb/vue-vben-admin/issues"
|
|
|
- },
|
|
|
- "homepage": "https://github.com/anncwb/vue-vben-admin",
|
|
|
"engines": {
|
|
|
"node": "^12 || >=14"
|
|
|
+ },
|
|
|
+ "lint-staged": {
|
|
|
+ "*.{js,jsx,ts,tsx}": [
|
|
|
+ "eslint --fix",
|
|
|
+ "prettier --write"
|
|
|
+ ],
|
|
|
+ "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
|
|
+ "prettier --write--parser json"
|
|
|
+ ],
|
|
|
+ "package.json": [
|
|
|
+ "prettier --write"
|
|
|
+ ],
|
|
|
+ "*.vue": [
|
|
|
+ "eslint --fix",
|
|
|
+ "prettier --write"
|
|
|
+ ],
|
|
|
+ "*.{scss,less,styl,html}": [
|
|
|
+ "stylelint --fix",
|
|
|
+ "prettier --write"
|
|
|
+ ],
|
|
|
+ "*.md": [
|
|
|
+ "prettier --write"
|
|
|
+ ]
|
|
|
}
|
|
|
}
|