package.json 4.4 KB
Newer Older
陈文彬 已提交
1
{
V
vben 已提交
2
  "name": "vben-admin",
V
vben 已提交
3
  "version": "2.9.1",
V
vben 已提交
4
  "homepage": "https://github.com/vbenjs/vue-vben-admin",
V
vben 已提交
5
  "bugs": {
V
vben 已提交
6
    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
V
vben 已提交
7 8 9
  },
  "repository": {
    "type": "git",
V
vben 已提交
10
    "url": "git+https://github.com/vbenjs/vue-vben-admin.git"
V
vben 已提交
11 12
  },
  "license": "MIT",
13 14 15 16 17
  "author": {
    "name": "vben",
    "email": "anncwb@126.com",
    "url": "https://github.com/anncwb"
  },
陈文彬 已提交
18
  "scripts": {
1
1sm 已提交
19
    "bootstrap": "pnpm install",
V
vben 已提交
20
    "build": "cross-env NODE_ENV=production pnpm vite build",
V
vben 已提交
21
    "build:analyze": "pnpm vite build --mode analyze",
1
1sm 已提交
22
    "build:no-cache": "pnpm clean:cache && npm run build",
V
vben 已提交
23
    "build:test": "pnpm vite build --mode test",
V
vben 已提交
24
    "commit": "czg",
V
vben 已提交
25
    "dev": "pnpm vite",
V
vben 已提交
26 27
    "preinstall": "npx only-allow pnpm",
    "postinstall": "turbo run stub",
V
vben 已提交
28
    "lint": "turbo run lint",
V
Vben 已提交
29
    "lint:eslint": "eslint --cache --max-warnings 0  \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
V
vben 已提交
30
    "lint:prettier": "prettier --write .",
V
vben 已提交
31
    "lint:stylelint": "stylelint \"**/*.{vue,css,less.scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
V
vben 已提交
32
    "prepare": "husky install",
V
vben 已提交
33 34 35 36 37
    "preview": "npm run build && vite preview",
    "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
    "serve": "npm run dev",
    "test:gzip": "npx http-server dist --cors --gzip -c-1",
    "type:check": "vue-tsc --noEmit --skipLibCheck"
陈文彬 已提交
38
  },
V
vben 已提交
39 40
  "lint-staged": {
    "*.{js,jsx,ts,tsx}": [
V
vben 已提交
41 42
      "prettier --write",
      "eslint --fix"
V
vben 已提交
43 44 45 46 47 48 49 50 51
    ],
    "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
      "prettier --write--parser json"
    ],
    "package.json": [
      "prettier --write"
    ],
    "*.vue": [
      "prettier --write",
V
vben 已提交
52
      "eslint --fix",
V
vben 已提交
53 54 55
      "stylelint --fix"
    ],
    "*.{scss,less,styl,html}": [
V
vben 已提交
56 57
      "prettier --write",
      "stylelint --fix"
V
vben 已提交
58 59 60 61 62 63 64 65 66 67
    ],
    "*.md": [
      "prettier --write"
    ]
  },
  "config": {
    "commitizen": {
      "path": "node_modules/cz-git"
    }
  },
陈文彬 已提交
68
  "dependencies": {
J
JinMao 已提交
69
    "@ant-design/icons-vue": "^6.1.0",
V
vben 已提交
70 71 72
    "@iconify/iconify": "^3.1.0",
    "@logicflow/core": "^1.2.1",
    "@logicflow/extension": "^1.2.1",
V
vben 已提交
73
    "@vben/hooks": "workspace:*",
V
vben 已提交
74
    "@vue/shared": "^3.2.47",
V
vben 已提交
75 76 77
    "@vueuse/core": "^9.13.0",
    "@vueuse/shared": "^9.13.0",
    "@zxcvbn-ts/core": "^2.2.1",
V
vben 已提交
78
    "ant-design-vue": "^3.2.17",
K
Kirk Lin 已提交
79
    "axios": "^1.3.5",
V
vben 已提交
80 81
    "codemirror": "^5.65.12",
    "cropperjs": "^1.5.13",
V
vben 已提交
82
    "crypto-js": "^4.1.1",
V
vben 已提交
83 84
    "dayjs": "^1.11.7",
    "echarts": "^5.4.2",
L
lzdjack 已提交
85
    "exceljs": "^4.3.0",
V
vben 已提交
86
    "intro.js": "^7.0.1",
V
vben 已提交
87
    "lodash-es": "^4.17.21",
陈文彬 已提交
88 89
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
V
vben 已提交
90 91
    "path-to-regexp": "^6.2.1",
    "pinia": "2.0.33",
V
Vben 已提交
92
    "print-js": "^1.6.0",
V
vben 已提交
93 94
    "qrcode": "^1.5.1",
    "qs": "^6.11.1",
95
    "resize-observer-polyfill": "^1.5.1",
J
JinMao 已提交
96
    "showdown": "^2.1.0",
J
JinMao 已提交
97
    "sortablejs": "^1.15.0",
M
MAM 已提交
98
    "tinymce": "^5.10.7",
V
vben 已提交
99
    "vditor": "^3.9.1",
V
vben 已提交
100
    "vue": "^3.2.47",
V
vben 已提交
101 102 103 104
    "vue-i18n": "^9.2.2",
    "vue-json-pretty": "^2.2.4",
    "vue-router": "^4.1.6",
    "vue-types": "^5.0.2",
V
vben 已提交
105
    "vuedraggable": "^4.1.0",
V
vben 已提交
106
    "vxe-table": "^4.3.11",
L
lzdjack 已提交
107 108
    "vxe-table-plugin-export-xlsx": "^3.0.4",
    "xe-utils": "^3.5.7",
V
vben 已提交
109
    "xlsx": "^0.18.5"
陈文彬 已提交
110 111
  },
  "devDependencies": {
V
vben 已提交
112
    "@commitlint/cli": "^17.5.1",
V
vben 已提交
113
    "@commitlint/config-conventional": "^17.4.4",
V
vben 已提交
114
    "@iconify/json": "^2.2.46",
V
vben 已提交
115 116
    "@purge-icons/generated": "^0.9.0",
    "@types/codemirror": "^5.60.7",
V
vben 已提交
117
    "@types/crypto-js": "^4.1.1",
V
vben 已提交
118 119 120
    "@types/intro.js": "^5.1.1",
    "@types/lodash-es": "^4.17.7",
    "@types/mockjs": "^1.0.7",
陈文彬 已提交
121
    "@types/nprogress": "^0.2.0",
V
vben 已提交
122
    "@types/qrcode": "^1.5.0",
S
shisan 已提交
123
    "@types/qs": "^6.9.7",
V
vben 已提交
124 125
    "@types/showdown": "^2.0.0",
    "@types/sortablejs": "^1.15.1",
V
vben 已提交
126 127
    "@vben/eslint-config": "workspace:*",
    "@vben/stylelint-config": "workspace:*",
V
vben 已提交
128
    "@vben/ts-config": "workspace:*",
129
    "@vben/types": "workspace:*",
V
vben 已提交
130
    "@vben/vite-config": "workspace:*",
V
vben 已提交
131 132
    "@vue/compiler-sfc": "^3.2.47",
    "@vue/test-utils": "^2.3.2",
V
vben 已提交
133
    "cross-env": "^7.0.3",
V
vben 已提交
134 135 136 137 138
    "cz-git": "^1.6.1",
    "czg": "^1.6.1",
    "husky": "^8.0.3",
    "lint-staged": "13.2.0",
    "prettier": "^2.8.7",
V
vben 已提交
139
    "prettier-plugin-packagejson": "^2.4.3",
V
vben 已提交
140
    "rimraf": "^4.4.1",
V
vben 已提交
141
    "turbo": "^1.8.8",
V
vben 已提交
142
    "typescript": "^5.0.3",
V
vben 已提交
143
    "unbuild": "^1.2.0",
V
vben 已提交
144 145
    "unplugin-vue-define-options": "^1.3.3",
    "vite": "^4.3.0-beta.2",
V
vben 已提交
146
    "vite-plugin-mock": "^2.9.6",
V
vben 已提交
147
    "vue-tsc": "^1.2.0"
陈文彬 已提交
148
  },
V
vben 已提交
149
  "packageManager": "pnpm@8.1.0",
陈文彬 已提交
150
  "engines": {
V
vben 已提交
151 152
    "node": ">=16.15.1",
    "pnpm": ">=8.1.0"
陈文彬 已提交
153 154
  }
}