package.json 5.2 KB
Newer Older
陈文彬 已提交
1
{
V
vben 已提交
2
  "name": "vben-admin",
V
Vben 已提交
3
  "version": "2.5.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": "vite build && esno ./build/script/postBuild.ts",
V
vben 已提交
14
    "build:no-cache": "yarn clean:cache && npm run build",
V
Vben 已提交
15 16
    "report": "cross-env REPORT=true npm run build",
    "type:check": "vue-tsc --noEmit --skipLibCheck",
V
vben 已提交
17 18
    "preview": "npm run build && vite preview",
    "preview:dist": "vite preview",
V
Vben 已提交
19
    "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
V
vben 已提交
20
    "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
V
Vben 已提交
21
    "clean:lib": "rimraf node_modules",
V
Vben 已提交
22
    "lint:eslint": "eslint --cache --max-warnings 0  \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
陈文彬 已提交
23
    "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
V
Vben 已提交
24
    "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
V
vben 已提交
25
    "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
V
vben 已提交
26
    "lint:pretty": "pretty-quick --staged",
V
Vben 已提交
27 28
    "test:unit": "jest",
    "test:unit-coverage": "jest --coverage",
29 30
    "test:gzip": "http-server dist --cors --gzip -c-1",
    "test:br": "http-server dist --cors --brotli -c-1",
V
vben 已提交
31
    "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
32
    "install:husky": "is-ci || husky install",
V
Vben 已提交
33
    "gen:icon": "esno ./build/generate/icon/index.ts",
34
    "postinstall": "npm run install:husky"
陈文彬 已提交
35 36
  },
  "dependencies": {
V
Vben 已提交
37
    "@iconify/iconify": "^2.0.2",
38 39
    "@logicflow/core": "^0.5.0",
    "@logicflow/extension": "^0.5.0",
40
    "@vueuse/core": "^5.0.3",
V
Vben 已提交
41
    "@zxcvbn-ts/core": "^0.3.0",
V
Vben 已提交
42
    "ant-design-vue": "2.1.6",
V
vben 已提交
43
    "axios": "^0.21.1",
V
Vben 已提交
44
    "codemirror": "^5.61.1",
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",
V
vben 已提交
56
    "sortablejs": "^1.13.0",
V
Vben 已提交
57
    "tinymce": "^5.8.1",
V
Vben 已提交
58
    "vditor": "^3.8.5",
59
    "vue": "3.0.11",
V
vben 已提交
60
    "vue-i18n": "9.1.6",
啝裳 已提交
61
    "vue-json-pretty": "^2.0.2",
V
Vben 已提交
62
    "vue-router": "^4.0.9",
V
vben 已提交
63
    "vue-types": "^3.0.2",
V
Vben 已提交
64
    "xlsx": "^0.17.0"
陈文彬 已提交
65 66
  },
  "devDependencies": {
V
Vben 已提交
67 68
    "@commitlint/cli": "^12.1.4",
    "@commitlint/config-conventional": "^12.1.4",
69
    "@iconify/json": "^1.1.358",
V
vben 已提交
70
    "@purge-icons/generated": "^0.7.0",
V
Vben 已提交
71
    "@types/codemirror": "^5.60.0",
V
Vben 已提交
72
    "@types/crypto-js": "^4.0.1",
73
    "@types/fs-extra": "^9.0.11",
74
    "@types/inquirer": "^7.3.2",
V
Vben 已提交
75
    "@types/intro.js": "^3.0.1",
V
Vben 已提交
76
    "@types/jest": "^26.0.23",
V
vben 已提交
77
    "@types/lodash-es": "^4.17.4",
陈文彬 已提交
78
    "@types/mockjs": "^1.0.3",
79
    "@types/node": "^15.12.4",
陈文彬 已提交
80
    "@types/nprogress": "^0.2.0",
V
vben 已提交
81
    "@types/qrcode": "^1.4.0",
82
    "@types/qs": "^6.9.6",
V
vben 已提交
83
    "@types/sortablejs": "^1.10.6",
V
Vben 已提交
84 85
    "@typescript-eslint/eslint-plugin": "^4.27.0",
    "@typescript-eslint/parser": "^4.27.0",
V
vben 已提交
86 87 88
    "@vitejs/plugin-legacy": "^1.4.1",
    "@vitejs/plugin-vue": "^1.2.3",
    "@vitejs/plugin-vue-jsx": "^1.1.5",
89
    "@vue/compiler-sfc": "3.0.11",
90
    "@vue/test-utils": "^2.0.0-rc.7",
V
vben 已提交
91
    "autoprefixer": "^10.2.6",
V
Vben 已提交
92
    "commitizen": "^4.2.4",
V
vben 已提交
93
    "conventional-changelog-cli": "^2.1.1",
V
vben 已提交
94
    "cross-env": "^7.0.3",
V
vben 已提交
95
    "dotenv": "^10.0.0",
96
    "eslint": "^7.29.0",
V
Vben 已提交
97
    "eslint-config-prettier": "^8.3.0",
98
    "eslint-define-config": "^1.0.8",
V
Vben 已提交
99
    "eslint-plugin-jest": "^24.3.6",
V
Vben 已提交
100
    "eslint-plugin-prettier": "^3.4.0",
V
Vben 已提交
101 102
    "eslint-plugin-vue": "^7.11.1",
    "esno": "^0.7.3",
V
Vben 已提交
103
    "fs-extra": "^10.0.0",
104
    "http-server": "^0.12.3",
V
Vben 已提交
105
    "husky": "^6.0.0",
V
Vben 已提交
106
    "inquirer": "^8.1.1",
V
vben 已提交
107
    "is-ci": "^3.0.0",
V
Vben 已提交
108
    "jest": "^27.0.4",
V
vben 已提交
109
    "less": "^4.1.1",
V
Vben 已提交
110
    "lint-staged": "^11.0.0",
111
    "npm-run-all": "^4.1.5",
V
Vben 已提交
112
    "postcss": "^8.3.5",
V
Vben 已提交
113
    "prettier": "^2.3.1",
114
    "pretty-quick": "^3.1.1",
陈文彬 已提交
115
    "rimraf": "^3.0.2",
V
Vben 已提交
116 117
    "rollup-plugin-visualizer": "5.5.0",
    "stylelint": "^13.13.1",
陈文彬 已提交
118
    "stylelint-config-prettier": "^8.0.2",
V
Vben 已提交
119
    "stylelint-config-standard": "^22.0.0",
陈文彬 已提交
120
    "stylelint-order": "^4.1.0",
121
    "tailwindcss": "^2.2.2",
V
Vben 已提交
122
    "ts-jest": "^27.0.3",
V
vben 已提交
123
    "ts-node": "^10.0.0",
124
    "typescript": "4.3.4",
125
    "vite": "2.3.8",
V
Vben 已提交
126
    "vite-plugin-compression": "^0.2.5",
V
Vben 已提交
127
    "vite-plugin-html": "^2.0.7",
V
Vben 已提交
128
    "vite-plugin-imagemin": "^0.3.2",
V
Vben 已提交
129
    "vite-plugin-mock": "^2.8.0",
V
vben 已提交
130
    "vite-plugin-purge-icons": "^0.7.0",
131
    "vite-plugin-pwa": "^0.8.1",
V
Vben 已提交
132 133
    "vite-plugin-style-import": "^1.0.0",
    "vite-plugin-svg-icons": "^0.7.1",
V
vben 已提交
134
    "vite-plugin-theme": "^0.8.1",
V
Vben 已提交
135
    "vue-eslint-parser": "^7.6.0",
V
vben 已提交
136
    "vue-tsc": "^0.1.7"
陈文彬 已提交
137
  },
V
vben 已提交
138
  "resolutions": {
V
Vben 已提交
139
    "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
V
Vben 已提交
140
    "bin-wrapper": "npm:bin-wrapper-china",
V
Vben 已提交
141
    "rollup": "^2.52.1"
V
vben 已提交
142
  },
陈文彬 已提交
143 144 145 146 147 148 149 150 151
  "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",
陈文彬 已提交
152
  "engines": {
153
    "node": "^12 || >=14"
陈文彬 已提交
154 155
  }
}