package.json 6.3 KB
Newer Older
陈文彬 已提交
1
{
V
vben 已提交
2
  "name": "vben-admin",
V
vben 已提交
3
  "version": "2.9.0",
V
vben 已提交
4 5 6 7 8 9 10 11 12
  "homepage": "https://github.com/anncwb/vue-vben-admin",
  "bugs": {
    "url": "https://github.com/anncwb/vue-vben-admin/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  },
  "license": "MIT",
13 14 15 16 17
  "author": {
    "name": "vben",
    "email": "anncwb@126.com",
    "url": "https://github.com/anncwb"
  },
陈文彬 已提交
18
  "scripts": {
19
    "commit": "czg",
1
1sm 已提交
20
    "bootstrap": "pnpm install",
V
Vben 已提交
21
    "serve": "npm run dev",
V
vben 已提交
22
    "dev": "vite",
V
vben 已提交
23
    "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
24
    "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
1
1sm 已提交
25
    "build:no-cache": "pnpm clean:cache && npm run build",
V
Vben 已提交
26 27
    "report": "cross-env REPORT=true npm run build",
    "type:check": "vue-tsc --noEmit --skipLibCheck",
V
vben 已提交
28 29
    "preview": "npm run build && vite preview",
    "preview:dist": "vite preview",
V
Vben 已提交
30
    "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
V
vben 已提交
31
    "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
V
Vben 已提交
32
    "clean:lib": "rimraf node_modules",
V
Vben 已提交
33
    "lint:eslint": "eslint --cache --max-warnings 0  \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
V
vben 已提交
34
    "lint:prettier": "prettier --write  \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
V
Vben 已提交
35
    "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
36
    "lint:lint-staged": "lint-staged",
V
Vben 已提交
37
    "test:unit": "jest",
V
vben 已提交
38 39
    "test:gzip": "npx http-server dist --cors --gzip -c-1",
    "test:br": "npx http-server dist --cors --brotli -c-1",
1
1sm 已提交
40
    "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
V
vben 已提交
41
    "preinstall": "npx only-allow pnpm",
V
vben 已提交
42
    "prepare": "husky install",
V
vben 已提交
43
    "gen:icon": "esno ./build/generate/icon/index.ts"
陈文彬 已提交
44
  },
V
vben 已提交
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
  "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",
      "stylelint --fix"
    ],
    "*.{scss,less,styl,html}": [
      "stylelint --fix",
      "prettier --write"
    ],
    "*.md": [
      "prettier --write"
    ]
  },
  "config": {
    "commitizen": {
      "path": "node_modules/cz-git"
    }
  },
  "resolutions": {
    "bin-wrapper": "npm:bin-wrapper-china",
    "gifsicle": "5.2.0"
  },
陈文彬 已提交
78
  "dependencies": {
J
Jungzl 已提交
79
    "@ant-design/colors": "^6.0.0",
J
JinMao 已提交
80
    "@ant-design/icons-vue": "^6.1.0",
J
JinMao 已提交
81
    "@iconify/iconify": "^2.2.1",
J
JinMao 已提交
82 83 84 85
    "@logicflow/core": "^1.1.13",
    "@logicflow/extension": "^1.1.13",
    "@vue/runtime-core": "^3.2.33",
    "@vue/shared": "^3.2.33",
J
JinMao 已提交
86 87
    "@vueuse/core": "^8.3.0",
    "@vueuse/shared": "^8.3.0",
V
vben 已提交
88
    "@zxcvbn-ts/core": "^2.0.1",
J
JinMao 已提交
89
    "ant-design-vue": "^3.2.0",
J
JinMao 已提交
90
    "axios": "^0.26.1",
J
JinMao 已提交
91
    "codemirror": "^5.65.3",
92
    "cropperjs": "^1.5.12",
V
vben 已提交
93
    "crypto-js": "^4.1.1",
J
JinMao 已提交
94
    "dayjs": "^1.11.1",
J
JinMao 已提交
95
    "echarts": "^5.3.2",
L
lzdjack 已提交
96
    "exceljs": "^4.3.0",
J
JinMao 已提交
97
    "intro.js": "^5.1.0",
V
vben 已提交
98
    "lodash-es": "^4.17.21",
陈文彬 已提交
99 100
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
101
    "path-to-regexp": "^6.2.0",
V
vben 已提交
102
    "pinia": "2.0.12",
V
Vben 已提交
103
    "print-js": "^1.6.0",
V
vben 已提交
104
    "qrcode": "^1.5.0",
V
vben 已提交
105
    "qs": "^6.10.3",
106
    "resize-observer-polyfill": "^1.5.1",
J
JinMao 已提交
107
    "showdown": "^2.1.0",
J
JinMao 已提交
108
    "sortablejs": "^1.15.0",
M
MAM 已提交
109
    "tinymce": "^5.10.7",
J
JinMao 已提交
110
    "vditor": "^3.8.13",
V
vben 已提交
111
    "vue": "^3.2.47",
V
vben 已提交
112
    "vue-i18n": "^9.1.9",
V
vben 已提交
113
    "vue-json-pretty": "^2.0.6",
J
JinMao 已提交
114
    "vue-router": "^4.0.14",
V
vben 已提交
115
    "vue-types": "^4.1.1",
V
vben 已提交
116
    "vuedraggable": "^4.1.0",
L
lzdjack 已提交
117 118 119
    "vxe-table": "^4.3.9",
    "vxe-table-plugin-export-xlsx": "^3.0.4",
    "xe-utils": "^3.5.7",
V
vben 已提交
120
    "xlsx": "^0.18.5"
陈文彬 已提交
121 122
  },
  "devDependencies": {
V
vben 已提交
123
    "@commitlint/cli": "^16.2.3",
V
vben 已提交
124
    "@commitlint/config-conventional": "^16.2.1",
J
JinMao 已提交
125
    "@iconify/json": "^2.1.30",
J
JinMao 已提交
126
    "@purge-icons/generated": "^0.8.1",
V
vben 已提交
127
    "@types/codemirror": "^5.60.5",
V
vben 已提交
128
    "@types/crypto-js": "^4.1.1",
V
vben 已提交
129
    "@types/fs-extra": "^9.0.13",
J
JinMao 已提交
130
    "@types/inquirer": "^8.2.1",
S
shisan 已提交
131
    "@types/intro.js": "^3.0.2",
V
vben 已提交
132
    "@types/lodash-es": "^4.17.6",
V
vben 已提交
133
    "@types/mockjs": "^1.0.6",
J
JinMao 已提交
134
    "@types/node": "^17.0.25",
陈文彬 已提交
135
    "@types/nprogress": "^0.2.0",
V
vben 已提交
136
    "@types/qrcode": "^1.4.2",
S
shisan 已提交
137
    "@types/qs": "^6.9.7",
138
    "@types/showdown": "^1.9.4",
V
Vben 已提交
139
    "@types/sortablejs": "^1.10.7",
J
JinMao 已提交
140 141
    "@typescript-eslint/eslint-plugin": "^5.20.0",
    "@typescript-eslint/parser": "^5.20.0",
J
JinMao 已提交
142
    "@vitejs/plugin-legacy": "^1.8.1",
J
JinMao 已提交
143
    "@vitejs/plugin-vue": "^2.3.1",
J
JinMao 已提交
144
    "@vitejs/plugin-vue-jsx": "^1.3.10",
145
    "@vue/compiler-sfc": "^3.2.33",
J
JinMao 已提交
146
    "@vue/test-utils": "^2.0.0-rc.21",
V
vben 已提交
147
    "autoprefixer": "^10.4.4",
V
vben 已提交
148
    "conventional-changelog-cli": "^2.2.2",
V
vben 已提交
149
    "cross-env": "^7.0.3",
150 151
    "cz-git": "^1.3.9",
    "czg": "^1.3.9",
V
vben 已提交
152
    "dotenv": "^16.0.0",
J
JinMao 已提交
153
    "eslint": "^8.13.0",
J
JinMao 已提交
154
    "eslint-config-prettier": "^8.5.0",
V
vben 已提交
155
    "eslint-plugin-prettier": "^4.0.0",
J
JinMao 已提交
156
    "eslint-plugin-vue": "^8.6.0",
V
vben 已提交
157
    "esno": "^0.14.1",
J
JinMao 已提交
158
    "fs-extra": "^10.1.0",
V
vben 已提交
159
    "husky": "^7.0.4",
J
JinMao 已提交
160
    "inquirer": "^8.2.2",
V
vben 已提交
161
    "less": "^4.1.2",
V
vben 已提交
162
    "lint-staged": "12.3.7",
163
    "npm-run-all": "^4.1.5",
V
vben 已提交
164
    "picocolors": "^1.0.0",
V
vben 已提交
165
    "postcss": "^8.4.12",
J
JinMao 已提交
166
    "postcss-html": "^1.4.1",
V
vben 已提交
167
    "postcss-less": "^6.0.0",
J
JinMao 已提交
168
    "prettier": "^2.6.2",
陈文彬 已提交
169
    "rimraf": "^3.0.2",
J
JinMao 已提交
170
    "rollup": "^2.70.2",
V
vben 已提交
171
    "rollup-plugin-visualizer": "^5.6.0",
L
lzdjack 已提交
172
    "sass": "^1.57.1",
J
JinMao 已提交
173
    "stylelint": "^14.7.1",
V
vben 已提交
174
    "stylelint-config-prettier": "^9.0.3",
V
vben 已提交
175
    "stylelint-config-recommended": "^7.0.0",
J
JinMao 已提交
176
    "stylelint-config-recommended-vue": "^1.4.0",
V
vben 已提交
177
    "stylelint-config-standard": "^25.0.0",
V
vben 已提交
178
    "stylelint-order": "^5.0.0",
J
JinMao 已提交
179
    "ts-node": "^10.7.0",
J
JinMao 已提交
180
    "typescript": "^4.6.3",
J
JinMao 已提交
181
    "vite": "^2.9.5",
V
vben 已提交
182
    "vite-plugin-compression": "^0.5.1",
J
JinMao 已提交
183
    "vite-plugin-html": "^3.2.0",
V
vben 已提交
184 185
    "vite-plugin-imagemin": "^0.6.1",
    "vite-plugin-mkcert": "^1.6.0",
V
vben 已提交
186
    "vite-plugin-mock": "^2.9.6",
J
JinMao 已提交
187
    "vite-plugin-purge-icons": "^0.8.1",
V
vben 已提交
188
    "vite-plugin-pwa": "^0.11.13",
V
vben 已提交
189 190
    "vite-plugin-style-import": "^2.0.0",
    "vite-plugin-svg-icons": "^2.0.1",
J
JinMao 已提交
191
    "vite-plugin-theme": "^0.8.6",
V
vben 已提交
192
    "vite-plugin-vue-setup-extend": "^0.4.0",
J
JinMao 已提交
193
    "vite-plugin-windicss": "^1.8.4",
V
vben 已提交
194
    "vue-eslint-parser": "^8.3.0",
195
    "vue-tsc": "^1.0.9"
陈文彬 已提交
196
  },
V
vben 已提交
197
  "packageManager": "pnpm@8.1.0",
陈文彬 已提交
198
  "engines": {
V
vben 已提交
199 200
    "node": ">=16.15.1",
    "pnpm": ">=8.1.0"
陈文彬 已提交
201 202
  }
}