package.json 5.8 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
  "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"
    }
  },
陈文彬 已提交
74
  "dependencies": {
V
vben 已提交
75
    "@ant-design/colors": "^7.0.0",
J
JinMao 已提交
76
    "@ant-design/icons-vue": "^6.1.0",
V
vben 已提交
77 78 79 80 81 82 83 84 85 86 87 88
    "@iconify/iconify": "^3.1.0",
    "@logicflow/core": "^1.2.1",
    "@logicflow/extension": "^1.2.1",
    "@vue/runtime-core": "^3.2.47",
    "@vue/shared": "^3.2.47",
    "@vueuse/core": "^9.13.0",
    "@vueuse/shared": "^9.13.0",
    "@zxcvbn-ts/core": "^2.2.1",
    "ant-design-vue": "^3.2.16",
    "axios": "^1.3.4",
    "codemirror": "^5.65.12",
    "cropperjs": "^1.5.13",
V
vben 已提交
89
    "crypto-js": "^4.1.1",
V
vben 已提交
90 91
    "dayjs": "^1.11.7",
    "echarts": "^5.4.2",
L
lzdjack 已提交
92
    "exceljs": "^4.3.0",
V
vben 已提交
93
    "intro.js": "^7.0.1",
V
vben 已提交
94
    "lodash-es": "^4.17.21",
陈文彬 已提交
95 96
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
V
vben 已提交
97 98
    "path-to-regexp": "^6.2.1",
    "pinia": "2.0.33",
V
Vben 已提交
99
    "print-js": "^1.6.0",
V
vben 已提交
100 101
    "qrcode": "^1.5.1",
    "qs": "^6.11.1",
102
    "resize-observer-polyfill": "^1.5.1",
J
JinMao 已提交
103
    "showdown": "^2.1.0",
J
JinMao 已提交
104
    "sortablejs": "^1.15.0",
M
MAM 已提交
105
    "tinymce": "^5.10.7",
V
vben 已提交
106
    "vditor": "^3.9.1",
V
vben 已提交
107
    "vue": "^3.2.47",
V
vben 已提交
108 109 110 111
    "vue-i18n": "^9.2.2",
    "vue-json-pretty": "^2.2.4",
    "vue-router": "^4.1.6",
    "vue-types": "^5.0.2",
V
vben 已提交
112
    "vuedraggable": "^4.1.0",
V
vben 已提交
113
    "vxe-table": "^4.3.11",
L
lzdjack 已提交
114 115
    "vxe-table-plugin-export-xlsx": "^3.0.4",
    "xe-utils": "^3.5.7",
V
vben 已提交
116
    "xlsx": "^0.18.5"
陈文彬 已提交
117 118
  },
  "devDependencies": {
V
vben 已提交
119 120 121 122 123
    "@commitlint/cli": "^17.5.1",
    "@commitlint/config-conventional": "^17.4.4",
    "@iconify/json": "^2.2.43",
    "@purge-icons/generated": "^0.9.0",
    "@types/codemirror": "^5.60.7",
V
vben 已提交
124
    "@types/crypto-js": "^4.1.1",
V
vben 已提交
125 126 127 128 129 130
    "@types/fs-extra": "^11.0.1",
    "@types/inquirer": "^8.2.6",
    "@types/intro.js": "^5.1.1",
    "@types/lodash-es": "^4.17.7",
    "@types/mockjs": "^1.0.7",
    "@types/node": "^18.15.11",
陈文彬 已提交
131
    "@types/nprogress": "^0.2.0",
V
vben 已提交
132
    "@types/qrcode": "^1.5.0",
S
shisan 已提交
133
    "@types/qs": "^6.9.7",
V
vben 已提交
134 135 136 137 138 139 140 141 142
    "@types/showdown": "^2.0.0",
    "@types/sortablejs": "^1.15.1",
    "@typescript-eslint/eslint-plugin": "^5.57.0",
    "@typescript-eslint/parser": "^5.57.0",
    "@vitejs/plugin-vue": "^4.1.0",
    "@vitejs/plugin-vue-jsx": "^3.0.1",
    "@vue/compiler-sfc": "^3.2.47",
    "@vue/test-utils": "^2.3.2",
    "autoprefixer": "^10.4.14",
V
vben 已提交
143
    "conventional-changelog-cli": "^2.2.2",
V
vben 已提交
144
    "cross-env": "^7.0.3",
V
vben 已提交
145 146 147 148 149 150 151 152 153 154 155 156 157
    "cz-git": "^1.6.1",
    "czg": "^1.6.1",
    "dotenv": "^16.0.3",
    "eslint": "^8.37.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-vue": "^9.10.0",
    "esno": "^0.16.3",
    "fs-extra": "^11.1.1",
    "husky": "^8.0.3",
    "inquirer": "^9.1.5",
    "less": "^4.1.3",
    "lint-staged": "13.2.0",
158
    "npm-run-all": "^4.1.5",
V
vben 已提交
159
    "picocolors": "^1.0.0",
V
vben 已提交
160 161
    "postcss": "^8.4.21",
    "postcss-html": "^1.5.0",
V
vben 已提交
162
    "postcss-less": "^6.0.0",
V
vben 已提交
163 164 165 166 167 168
    "prettier": "^2.8.7",
    "rimraf": "^4.4.1",
    "rollup-plugin-visualizer": "^5.9.0",
    "sass": "^1.60.0",
    "stylelint": "^15.4.0",
    "stylelint-config-recommended": "^11.0.0",
J
JinMao 已提交
169
    "stylelint-config-recommended-vue": "^1.4.0",
V
vben 已提交
170 171 172
    "stylelint-config-standard": "^32.0.0",
    "stylelint-order": "^6.0.3",
    "typescript": "^5.0.3",
173
    "vite": "^4.3.0-beta.1",
V
vben 已提交
174
    "vite-plugin-compression": "^0.5.1",
J
JinMao 已提交
175
    "vite-plugin-html": "^3.2.0",
V
vben 已提交
176
    "vite-plugin-mock": "^2.9.6",
V
vben 已提交
177
    "vite-plugin-purge-icons": "^0.9.2",
V
vben 已提交
178
    "vite-plugin-svg-icons": "^2.0.1",
V
vben 已提交
179 180 181
    "vite-plugin-windicss": "^1.8.10",
    "vue-eslint-parser": "^9.1.1",
    "vue-tsc": "^1.2.0"
陈文彬 已提交
182
  },
V
vben 已提交
183
  "packageManager": "pnpm@8.1.0",
陈文彬 已提交
184
  "engines": {
V
vben 已提交
185 186
    "node": ">=16.15.1",
    "pnpm": ">=8.1.0"
陈文彬 已提交
187 188
  }
}