package.json 5.3 KB
Newer Older
陈文彬 已提交
1
{
V
vben 已提交
2
  "name": "vben-admin",
V
vben 已提交
3
  "version": "2.6.0",
4 5 6 7 8
  "author": {
    "name": "vben",
    "email": "anncwb@126.com",
    "url": "https://github.com/anncwb"
  },
陈文彬 已提交
9
  "scripts": {
V
Vben 已提交
10
    "bootstrap": "yarn install",
V
Vben 已提交
11
    "serve": "npm run dev",
V
vben 已提交
12
    "dev": "vite",
V
vben 已提交
13
    "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
14
    "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
V
vben 已提交
15
    "build:no-cache": "yarn clean:cache && npm run build",
V
Vben 已提交
16 17
    "report": "cross-env REPORT=true npm run build",
    "type:check": "vue-tsc --noEmit --skipLibCheck",
V
vben 已提交
18 19
    "preview": "npm run build && vite preview",
    "preview:dist": "vite preview",
V
Vben 已提交
20
    "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
V
vben 已提交
21
    "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
V
Vben 已提交
22
    "clean:lib": "rimraf node_modules",
V
Vben 已提交
23
    "lint:eslint": "eslint --cache --max-warnings 0  \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
陈文彬 已提交
24
    "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
V
Vben 已提交
25
    "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
V
vben 已提交
26
    "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
V
vben 已提交
27
    "lint:pretty": "pretty-quick --staged",
V
Vben 已提交
28 29
    "test:unit": "jest",
    "test:unit-coverage": "jest --coverage",
30 31
    "test:gzip": "http-server dist --cors --gzip -c-1",
    "test:br": "http-server dist --cors --brotli -c-1",
V
vben 已提交
32
    "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
V
vben 已提交
33 34
    "prepare": "husky install",
    "gen:icon": "esno ./build/generate/icon/index.ts"
陈文彬 已提交
35 36
  },
  "dependencies": {
V
vben 已提交
37
    "@iconify/iconify": "^2.0.3",
V
Vben 已提交
38 39 40
    "@logicflow/core": "^0.5.1",
    "@logicflow/extension": "^0.5.1",
    "@vueuse/core": "^5.1.3",
V
vben 已提交
41
    "@zxcvbn-ts/core": "^1.0.0-beta.0",
V
Vben 已提交
42
    "ant-design-vue": "2.2.1",
V
vben 已提交
43
    "axios": "^0.21.1",
V
vben 已提交
44
    "codemirror": "^5.62.0",
45
    "cropperjs": "^1.5.12",
V
Vben 已提交
46
    "crypto-js": "^4.0.0",
V
Vben 已提交
47
    "echarts": "^5.1.2",
48
    "intro.js": "^4.1.0",
V
vben 已提交
49
    "lodash-es": "^4.17.21",
陈文彬 已提交
50 51
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
52
    "path-to-regexp": "^6.2.0",
53
    "pinia": "^2.0.0-beta.3",
V
Vben 已提交
54
    "print-js": "^1.6.0",
陈文彬 已提交
55
    "qrcode": "^1.4.4",
56
    "resize-observer-polyfill": "^1.5.1",
57
    "sortablejs": "^1.14.0",
58
    "tinymce": "^5.8.2",
V
Vben 已提交
59
    "vditor": "^3.8.6",
V
vben 已提交
60
    "vue": "3.1.4",
V
vben 已提交
61
    "vue-i18n": "9.1.6",
啝裳 已提交
62
    "vue-json-pretty": "^2.0.2",
V
vben 已提交
63
    "vue-router": "^4.0.10",
V
vben 已提交
64
    "vue-types": "^4.0.0",
V
Vben 已提交
65
    "xlsx": "^0.17.0"
陈文彬 已提交
66 67
  },
  "devDependencies": {
V
Vben 已提交
68 69
    "@commitlint/cli": "^12.1.4",
    "@commitlint/config-conventional": "^12.1.4",
V
Vben 已提交
70
    "@iconify/json": "^1.1.371",
V
vben 已提交
71
    "@purge-icons/generated": "^0.7.0",
V
Vben 已提交
72 73 74 75
    "@types/codemirror": "^5.60.2",
    "@types/crypto-js": "^4.0.2",
    "@types/fs-extra": "^9.0.12",
    "@types/inquirer": "^7.3.3",
V
Vben 已提交
76
    "@types/intro.js": "^3.0.1",
V
Vben 已提交
77
    "@types/jest": "^26.0.24",
V
vben 已提交
78
    "@types/lodash-es": "^4.17.4",
陈文彬 已提交
79
    "@types/mockjs": "^1.0.3",
V
vben 已提交
80
    "@types/node": "^16.0.0",
陈文彬 已提交
81
    "@types/nprogress": "^0.2.0",
V
vben 已提交
82
    "@types/qrcode": "^1.4.0",
83
    "@types/qs": "^6.9.6",
V
Vben 已提交
84 85 86
    "@types/sortablejs": "^1.10.7",
    "@typescript-eslint/eslint-plugin": "^4.28.2",
    "@typescript-eslint/parser": "^4.28.2",
87 88 89
    "@vitejs/plugin-legacy": "^1.4.3",
    "@vitejs/plugin-vue": "^1.2.4",
    "@vitejs/plugin-vue-jsx": "^1.1.6",
V
vben 已提交
90
    "@vue/compiler-sfc": "3.1.4",
V
Vben 已提交
91
    "@vue/test-utils": "^2.0.0-rc.10",
V
vben 已提交
92
    "autoprefixer": "^10.2.6",
V
Vben 已提交
93
    "commitizen": "^4.2.4",
V
vben 已提交
94
    "conventional-changelog-cli": "^2.1.1",
V
vben 已提交
95
    "cross-env": "^7.0.3",
V
vben 已提交
96
    "dotenv": "^10.0.0",
V
vben 已提交
97
    "eslint": "^7.30.0",
V
Vben 已提交
98
    "eslint-config-prettier": "^8.3.0",
V
vben 已提交
99
    "eslint-define-config": "^1.0.9",
V
Vben 已提交
100
    "eslint-plugin-jest": "^24.3.6",
V
Vben 已提交
101
    "eslint-plugin-prettier": "^3.4.0",
V
Vben 已提交
102
    "eslint-plugin-vue": "^7.13.0",
V
Vben 已提交
103
    "esno": "^0.7.3",
V
Vben 已提交
104
    "fs-extra": "^10.0.0",
105
    "http-server": "^0.12.3",
V
Vben 已提交
106
    "husky": "^7.0.1",
V
Vben 已提交
107
    "inquirer": "^8.1.1",
V
vben 已提交
108
    "is-ci": "^3.0.0",
109
    "jest": "^27.0.6",
V
vben 已提交
110
    "less": "^4.1.1",
V
Vben 已提交
111
    "lint-staged": "^11.0.0",
112
    "npm-run-all": "^4.1.5",
V
Vben 已提交
113
    "postcss": "^8.3.5",
V
vben 已提交
114
    "prettier": "^2.3.2",
115
    "pretty-quick": "^3.1.1",
陈文彬 已提交
116
    "rimraf": "^3.0.2",
117
    "rollup-plugin-visualizer": "5.5.1",
V
Vben 已提交
118
    "stylelint": "^13.13.1",
陈文彬 已提交
119
    "stylelint-config-prettier": "^8.0.2",
V
Vben 已提交
120
    "stylelint-config-standard": "^22.0.0",
陈文彬 已提交
121
    "stylelint-order": "^4.1.0",
122
    "tailwindcss": "^2.2.4",
V
Vben 已提交
123
    "ts-jest": "^27.0.3",
V
vben 已提交
124
    "ts-node": "^10.0.0",
V
vben 已提交
125
    "typescript": "4.3.5",
V
Vben 已提交
126
    "vite": "2.4.1",
127
    "vite-plugin-compression": "^0.3.0",
V
Vben 已提交
128
    "vite-plugin-html": "^2.0.7",
129
    "vite-plugin-imagemin": "^0.4.0",
V
Vben 已提交
130
    "vite-plugin-mock": "^2.9.1",
V
vben 已提交
131
    "vite-plugin-purge-icons": "^0.7.0",
132
    "vite-plugin-pwa": "^0.8.1",
V
Vben 已提交
133
    "vite-plugin-style-import": "^1.0.1",
V
Vben 已提交
134
    "vite-plugin-svg-icons": "^1.0.1",
V
vben 已提交
135
    "vite-plugin-theme": "^0.8.1",
V
Vben 已提交
136
    "vue-eslint-parser": "^7.8.0",
V
vben 已提交
137
    "vue-tsc": "^0.2.0"
陈文彬 已提交
138
  },
V
vben 已提交
139
  "resolutions": {
V
Vben 已提交
140
    "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
V
Vben 已提交
141
    "bin-wrapper": "npm:bin-wrapper-china",
V
Vben 已提交
142
    "rollup": "^2.52.8"
V
vben 已提交
143
  },
陈文彬 已提交
144 145 146 147 148 149 150 151 152
  "repository": {
    "type": "git",
    "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/anncwb/vue-vben-admin/issues"
  },
  "homepage": "https://github.com/anncwb/vue-vben-admin",
陈文彬 已提交
153
  "engines": {
154
    "node": "^12 || >=14"
陈文彬 已提交
155 156
  }
}