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