package.json 5.4 KB
Newer Older
陈文彬 已提交
1
{
V
vben 已提交
2
  "name": "vben-admin",
V
vben 已提交
3
  "version": "2.7.2",
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",
V
vben 已提交
24
    "lint:prettier": "prettier --write  \"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.4",
V
vben 已提交
38 39
    "@logicflow/core": "^0.6.16",
    "@logicflow/extension": "^0.6.16",
无木 已提交
40
    "@vueuse/core": "^6.4.1",
V
vben 已提交
41
    "@zxcvbn-ts/core": "^1.0.0-beta.0",
无木 已提交
42
    "ant-design-vue": "2.2.8",
V
vben 已提交
43
    "axios": "^0.21.4",
V
vben 已提交
44
    "codemirror": "^5.62.3",
45
    "cropperjs": "^1.5.12",
V
vben 已提交
46
    "crypto-js": "^4.1.1",
V
vben 已提交
47 48
    "echarts": "^5.2.0",
    "intro.js": "^4.2.2",
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",
V
vben 已提交
53
    "pinia": "2.0.0-rc.9",
V
Vben 已提交
54
    "print-js": "^1.6.0",
陈文彬 已提交
55
    "qrcode": "^1.4.4",
56
    "resize-observer-polyfill": "^1.5.1",
57
    "showdown": "^1.9.1",
58
    "sortablejs": "^1.14.0",
V
vben 已提交
59
    "tinymce": "^5.9.2",
V
Vben 已提交
60
    "vditor": "^3.8.6",
无木 已提交
61 62
    "vue": "^3.2.12",
    "vue-i18n": "^9.1.7",
V
vben 已提交
63
    "vue-json-pretty": "^2.0.4",
V
vben 已提交
64
    "vue-router": "^4.0.11",
V
vben 已提交
65
    "vue-types": "^4.1.0",
无木 已提交
66
    "xlsx": "^0.17.2"
陈文彬 已提交
67 68
  },
  "devDependencies": {
V
vben 已提交
69 70
    "@commitlint/cli": "^13.1.0",
    "@commitlint/config-conventional": "^13.1.0",
无木 已提交
71
    "@iconify/json": "^1.1.403",
V
vben 已提交
72
    "@purge-icons/generated": "^0.7.0",
V
Vben 已提交
73 74 75
    "@types/codemirror": "^5.60.2",
    "@types/crypto-js": "^4.0.2",
    "@types/fs-extra": "^9.0.12",
V
vben 已提交
76
    "@types/inquirer": "^8.1.1",
S
shisan 已提交
77
    "@types/intro.js": "^3.0.2",
78
    "@types/jest": "^27.0.1",
V
vben 已提交
79
    "@types/lodash-es": "^4.17.5",
S
shisan 已提交
80
    "@types/mockjs": "^1.0.4",
无木 已提交
81
    "@types/node": "^16.9.2",
陈文彬 已提交
82
    "@types/nprogress": "^0.2.0",
S
shisan 已提交
83 84
    "@types/qrcode": "^1.4.1",
    "@types/qs": "^6.9.7",
85
    "@types/showdown": "^1.9.4",
V
Vben 已提交
86
    "@types/sortablejs": "^1.10.7",
无木 已提交
87 88
    "@typescript-eslint/eslint-plugin": "^4.31.1",
    "@typescript-eslint/parser": "^4.31.1",
V
vben 已提交
89 90 91
    "@vitejs/plugin-legacy": "^1.5.3",
    "@vitejs/plugin-vue": "^1.6.2",
    "@vitejs/plugin-vue-jsx": "^1.1.8",
无木 已提交
92
    "@vue/compiler-sfc": "3.2.12",
V
vben 已提交
93
    "@vue/test-utils": "^2.0.0-rc.14",
V
vben 已提交
94
    "autoprefixer": "^10.3.4",
V
Vben 已提交
95
    "commitizen": "^4.2.4",
V
vben 已提交
96
    "conventional-changelog-cli": "^2.1.1",
V
vben 已提交
97
    "cross-env": "^7.0.3",
V
vben 已提交
98
    "dotenv": "^10.0.0",
V
vben 已提交
99
    "eslint": "^7.32.0",
V
Vben 已提交
100
    "eslint-config-prettier": "^8.3.0",
V
vben 已提交
101
    "eslint-define-config": "^1.0.9",
无木 已提交
102
    "eslint-plugin-jest": "^24.4.2",
V
vben 已提交
103
    "eslint-plugin-prettier": "^4.0.0",
无木 已提交
104
    "eslint-plugin-vue": "^7.18.0",
V
vben 已提交
105
    "esno": "^0.9.1",
V
Vben 已提交
106
    "fs-extra": "^10.0.0",
无木 已提交
107
    "http-server": "^13.0.2",
108
    "husky": "^7.0.2",
无木 已提交
109
    "inquirer": "^8.1.5",
V
vben 已提交
110
    "is-ci": "^3.0.0",
V
vben 已提交
111
    "jest": "^27.2.0",
V
vben 已提交
112
    "less": "^4.1.1",
V
vben 已提交
113
    "lint-staged": "^11.1.2",
114
    "npm-run-all": "^4.1.5",
V
vben 已提交
115
    "postcss": "^8.3.6",
无木 已提交
116
    "prettier": "^2.4.1",
117
    "pretty-quick": "^3.1.1",
陈文彬 已提交
118
    "rimraf": "^3.0.2",
无木 已提交
119
    "rollup-plugin-visualizer": "^5.5.2",
V
Vben 已提交
120
    "stylelint": "^13.13.1",
陈文彬 已提交
121
    "stylelint-config-prettier": "^8.0.2",
V
Vben 已提交
122
    "stylelint-config-standard": "^22.0.0",
陈文彬 已提交
123
    "stylelint-order": "^4.1.0",
V
vben 已提交
124
    "ts-jest": "^27.0.5",
V
vben 已提交
125
    "ts-node": "^10.2.1",
无木 已提交
126 127
    "typescript": "^4.4.3",
    "vite": "^2.5.8",
V
vben 已提交
128
    "vite-plugin-compression": "^0.3.5",
V
vben 已提交
129
    "vite-plugin-html": "^2.1.0",
V
vben 已提交
130 131
    "vite-plugin-imagemin": "^0.4.5",
    "vite-plugin-mock": "^2.9.6",
V
vben 已提交
132
    "vite-plugin-purge-icons": "^0.7.0",
133
    "vite-plugin-pwa": "^0.11.2",
V
vben 已提交
134
    "vite-plugin-style-import": "^1.2.1",
V
Vben 已提交
135
    "vite-plugin-svg-icons": "^1.0.4",
V
vben 已提交
136
    "vite-plugin-theme": "^0.8.1",
137
    "vite-plugin-vue-setup-extend": "^0.1.0",
无木 已提交
138
    "vite-plugin-windicss": "^1.4.3",
V
vben 已提交
139
    "vue-eslint-parser": "^7.11.0",
V
vben 已提交
140
    "vue-tsc": "^0.3.0"
陈文彬 已提交
141
  },
V
vben 已提交
142
  "resolutions": {
V
Vben 已提交
143
    "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
V
Vben 已提交
144
    "bin-wrapper": "npm:bin-wrapper-china",
V
vben 已提交
145
    "rollup": "^2.56.3"
V
vben 已提交
146
  },
陈文彬 已提交
147 148 149 150 151 152 153 154 155
  "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",
陈文彬 已提交
156
  "engines": {
157
    "node": "^12 || >=14"
陈文彬 已提交
158 159
  }
}