package.json 4.7 KB
Newer Older
陈文彬 已提交
1
{
V
vben 已提交
2
  "name": "vben-admin",
V
Vben 已提交
3
  "version": "2.0.2",
陈文彬 已提交
4
  "scripts": {
V
Vben 已提交
5
    "bootstrap": "yarn install",
V
vben 已提交
6
    "serve": "vite",
V
vben 已提交
7
    "dev": "vite",
V
vben 已提交
8
    "build": "vite build && esno ./build/script/postBuild.ts",
V
vben 已提交
9
    "build:no-cache": "yarn clean:cache && npm run build",
10
    "report": "cross-env REPORT=true npm run build ",
V
vben 已提交
11 12
    "preview": "npm run build && vite preview",
    "preview:dist": "vite preview",
V
Vben 已提交
13
    "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
V
vben 已提交
14
    "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
V
Vben 已提交
15
    "clean:lib": "rimraf node_modules",
V
vben 已提交
16
    "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
陈文彬 已提交
17
    "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
18
    "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
V
vben 已提交
19 20
    "lint:ls-lint": "ls-lint",
    "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
V
vben 已提交
21
    "lint:pretty": "pretty-quick --staged",
22 23
    "test:gzip": "http-server dist --cors --gzip -c-1",
    "test:br": "http-server dist --cors --brotli -c-1",
V
vben 已提交
24
    "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
25 26 27
    "install:husky": "is-ci || husky install",
    "gen:icon": "esno ./build/gen/generateIconJson.ts",
    "postinstall": "npm run install:husky"
陈文彬 已提交
28 29
  },
  "dependencies": {
V
vben 已提交
30
    "@iconify/iconify": "^2.0.0-rc.6",
V
Vben 已提交
31
    "@vueuse/core": "^4.3.4",
V
Vben 已提交
32
    "@zxcvbn-ts/core": "^0.3.0",
33
    "ant-design-vue": "2.0.1",
V
vben 已提交
34
    "apexcharts": "^3.25.0",
V
vben 已提交
35
    "axios": "^0.21.1",
V
Vben 已提交
36
    "crypto-js": "^4.0.0",
V
vben 已提交
37
    "echarts": "^5.0.2",
V
vben 已提交
38
    "lodash-es": "^4.17.21",
陈文彬 已提交
39 40
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
41
    "path-to-regexp": "^6.2.0",
陈文彬 已提交
42
    "qrcode": "^1.4.4",
V
vben 已提交
43
    "sortablejs": "^1.13.0",
V
Vben 已提交
44
    "vditor": "^3.8.2",
45
    "vue": "^3.0.7",
V
Vben 已提交
46
    "vue-i18n": "^9.0.0",
V
vben 已提交
47
    "vue-router": "^4.0.4",
V
vben 已提交
48 49
    "vue-types": "^3.0.2",
    "vuex": "^4.0.0",
陈文彬 已提交
50
    "vuex-module-decorators": "^1.0.1",
V
vben 已提交
51
    "xlsx": "^0.16.9"
陈文彬 已提交
52 53
  },
  "devDependencies": {
V
Vben 已提交
54 55
    "@commitlint/cli": "^12.0.1",
    "@commitlint/config-conventional": "^12.0.1",
V
Vben 已提交
56
    "@iconify/json": "^1.1.312",
陈文彬 已提交
57
    "@ls-lint/ls-lint": "^1.9.2",
V
vben 已提交
58
    "@purge-icons/generated": "^0.7.0",
V
Vben 已提交
59
    "@types/crypto-js": "^4.0.1",
60
    "@types/fs-extra": "^9.0.8",
61
    "@types/http-proxy": "^1.17.5",
62
    "@types/inquirer": "^7.3.1",
V
vben 已提交
63
    "@types/lodash-es": "^4.17.4",
陈文彬 已提交
64 65
    "@types/mockjs": "^1.0.3",
    "@types/nprogress": "^0.2.0",
V
vben 已提交
66
    "@types/qrcode": "^1.4.0",
67
    "@types/qs": "^6.9.5",
陈文彬 已提交
68
    "@types/rollup-plugin-visualizer": "^2.6.0",
V
vben 已提交
69
    "@types/sortablejs": "^1.10.6",
V
vben 已提交
70
    "@types/yargs": "^16.0.0",
V
Vben 已提交
71 72
    "@typescript-eslint/eslint-plugin": "^4.16.1",
    "@typescript-eslint/parser": "^4.16.1",
V
vben 已提交
73
    "@vitejs/plugin-legacy": "^1.3.1",
V
Vben 已提交
74
    "@vitejs/plugin-vue": "^1.1.5",
V
Vben 已提交
75
    "@vitejs/plugin-vue-jsx": "^1.1.2",
76
    "@vue/compiler-sfc": "^3.0.7",
V
vben 已提交
77
    "autoprefixer": "^10.2.4",
78
    "commitizen": "^4.2.3",
V
vben 已提交
79
    "conventional-changelog-cli": "^2.1.1",
V
vben 已提交
80
    "cross-env": "^7.0.3",
陈文彬 已提交
81
    "dotenv": "^8.2.0",
V
Vben 已提交
82
    "eslint": "^7.21.0",
V
Vben 已提交
83
    "eslint-config-prettier": "^8.1.0",
V
vben 已提交
84
    "eslint-plugin-prettier": "^3.3.1",
V
Vben 已提交
85
    "eslint-plugin-vue": "^7.7.0",
V
Vben 已提交
86
    "esno": "^0.4.6",
V
vben 已提交
87
    "fs-extra": "^9.1.0",
88
    "http-server": "^0.12.3",
V
Vben 已提交
89
    "husky": "^5.1.3",
90
    "inquirer": "^8.0.0",
V
vben 已提交
91
    "is-ci": "^3.0.0",
V
vben 已提交
92
    "less": "^4.1.1",
V
vben 已提交
93
    "lint-staged": "^10.5.4",
V
Vben 已提交
94
    "postcss": "^8.2.7",
V
vben 已提交
95
    "prettier": "^2.2.1",
V
vben 已提交
96
    "pretty-quick": "^3.1.0",
陈文彬 已提交
97
    "rimraf": "^3.0.2",
98
    "rollup-plugin-visualizer": "^4.2.0",
V
vben 已提交
99
    "stylelint": "^13.11.0",
陈文彬 已提交
100 101 102
    "stylelint-config-prettier": "^8.0.2",
    "stylelint-config-standard": "^20.0.0",
    "stylelint-order": "^4.1.0",
103
    "ts-node": "^9.1.1",
V
Vben 已提交
104
    "typescript": "4.2.3",
V
Vben 已提交
105
    "vite": "^2.0.5",
V
Vben 已提交
106 107 108
    "vite-plugin-compression": "^0.2.3",
    "vite-plugin-html": "^2.0.3",
    "vite-plugin-imagemin": "^0.2.9",
V
Vben 已提交
109
    "vite-plugin-mock": "^2.2.0",
V
vben 已提交
110
    "vite-plugin-purge-icons": "^0.7.0",
V
Vben 已提交
111
    "vite-plugin-pwa": "^0.5.6",
V
Vben 已提交
112
    "vite-plugin-style-import": "^0.7.6",
V
Vben 已提交
113
    "vite-plugin-svg-icons": "^0.2.1",
V
vben 已提交
114
    "vite-plugin-theme": "^0.4.8",
V
Vben 已提交
115
    "vite-plugin-windicss": "0.6.10",
V
Vben 已提交
116
    "vue-eslint-parser": "^7.6.0",
V
vben 已提交
117
    "yargs": "^16.2.0"
陈文彬 已提交
118
  },
V
vben 已提交
119 120
  "resolutions": {
    "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it",
V
Vben 已提交
121
    "bin-wrapper": "npm:bin-wrapper-china",
V
Vben 已提交
122
    "esbuild": "0.8.56",
V
Vben 已提交
123
    "rollup": "2.40.0"
V
vben 已提交
124
  },
陈文彬 已提交
125 126 127 128 129 130 131 132 133
  "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",
陈文彬 已提交
134
  "engines": {
V
vben 已提交
135
    "node": "^12 || ^14 || ^15 || ^16"
陈文彬 已提交
136 137
  }
}