package.json 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. {
  2. "name": "vben-admin",
  3. "version": "2.9.0",
  4. "author": {
  5. "name": "vben",
  6. "email": "anncwb@126.com",
  7. "url": "https://github.com/anncwb"
  8. },
  9. "scripts": {
  10. "commit": "czg",
  11. "bootstrap": "pnpm install",
  12. "serve": "npm run dev",
  13. "dev": "vite",
  14. "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
  15. "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  16. "build:no-cache": "pnpm clean:cache && npm run build",
  17. "report": "cross-env REPORT=true npm run build",
  18. "type:check": "vue-tsc --noEmit --skipLibCheck",
  19. "preview": "npm run build && vite preview",
  20. "preview:dist": "vite preview",
  21. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  22. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  23. "clean:lib": "rimraf node_modules",
  24. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  25. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  26. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  27. "lint:lint-staged": "lint-staged",
  28. "test:unit": "jest",
  29. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  30. "test:br": "npx http-server dist --cors --brotli -c-1",
  31. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  32. "prepare": "husky install",
  33. "gen:icon": "esno ./build/generate/icon/index.ts"
  34. },
  35. "dependencies": {
  36. "@ant-design/colors": "^6.0.0",
  37. "@ant-design/icons-vue": "^6.1.0",
  38. "@iconify/iconify": "^2.2.1",
  39. "@logicflow/core": "^1.1.13",
  40. "@logicflow/extension": "^1.1.13",
  41. "@vue/runtime-core": "^3.2.33",
  42. "@vue/shared": "^3.2.33",
  43. "@vueuse/core": "^8.3.0",
  44. "@vueuse/shared": "^8.3.0",
  45. "@zxcvbn-ts/core": "^2.0.1",
  46. "ant-design-vue": "^3.2.0",
  47. "axios": "^0.26.1",
  48. "codemirror": "^5.65.3",
  49. "cropperjs": "^1.5.12",
  50. "crypto-js": "^4.1.1",
  51. "dayjs": "^1.11.1",
  52. "echarts": "^5.3.2",
  53. "exceljs": "^4.3.0",
  54. "intro.js": "^5.1.0",
  55. "lodash-es": "^4.17.21",
  56. "mockjs": "^1.1.0",
  57. "nprogress": "^0.2.0",
  58. "path-to-regexp": "^6.2.0",
  59. "pinia": "2.0.12",
  60. "print-js": "^1.6.0",
  61. "qrcode": "^1.5.0",
  62. "qs": "^6.10.3",
  63. "resize-observer-polyfill": "^1.5.1",
  64. "showdown": "^2.1.0",
  65. "sortablejs": "^1.15.0",
  66. "tinymce": "^5.10.7",
  67. "vditor": "^3.8.13",
  68. "vue": "^3.2.45",
  69. "vue-i18n": "^9.1.9",
  70. "vue-json-pretty": "^2.0.6",
  71. "vue-router": "^4.0.14",
  72. "vue-types": "^4.1.1",
  73. "vxe-table": "^4.3.9",
  74. "vxe-table-plugin-export-xlsx": "^3.0.4",
  75. "xe-utils": "^3.5.7",
  76. "xlsx": "^0.18.5",
  77. "vuedraggable": "^4.1.0"
  78. },
  79. "devDependencies": {
  80. "@commitlint/cli": "^16.2.3",
  81. "@commitlint/config-conventional": "^16.2.1",
  82. "@iconify/json": "^2.1.30",
  83. "@purge-icons/generated": "^0.8.1",
  84. "@types/codemirror": "^5.60.5",
  85. "@types/crypto-js": "^4.1.1",
  86. "@types/fs-extra": "^9.0.13",
  87. "@types/inquirer": "^8.2.1",
  88. "@types/intro.js": "^3.0.2",
  89. "@types/lodash-es": "^4.17.6",
  90. "@types/mockjs": "^1.0.6",
  91. "@types/node": "^17.0.25",
  92. "@types/nprogress": "^0.2.0",
  93. "@types/qrcode": "^1.4.2",
  94. "@types/qs": "^6.9.7",
  95. "@types/showdown": "^1.9.4",
  96. "@types/sortablejs": "^1.10.7",
  97. "@typescript-eslint/eslint-plugin": "^5.20.0",
  98. "@typescript-eslint/parser": "^5.20.0",
  99. "@vitejs/plugin-legacy": "^1.8.1",
  100. "@vitejs/plugin-vue": "^2.3.1",
  101. "@vitejs/plugin-vue-jsx": "^1.3.10",
  102. "@vue/compiler-sfc": "^3.2.33",
  103. "@vue/test-utils": "^2.0.0-rc.21",
  104. "autoprefixer": "^10.4.4",
  105. "conventional-changelog-cli": "^2.2.2",
  106. "cross-env": "^7.0.3",
  107. "cz-git": "^1.3.9",
  108. "czg": "^1.3.9",
  109. "dotenv": "^16.0.0",
  110. "eslint": "^8.13.0",
  111. "eslint-config-prettier": "^8.5.0",
  112. "eslint-plugin-prettier": "^4.0.0",
  113. "eslint-plugin-vue": "^8.6.0",
  114. "esno": "^0.14.1",
  115. "fs-extra": "^10.1.0",
  116. "husky": "^7.0.4",
  117. "inquirer": "^8.2.2",
  118. "less": "^4.1.2",
  119. "lint-staged": "12.3.7",
  120. "npm-run-all": "^4.1.5",
  121. "picocolors": "^1.0.0",
  122. "postcss": "^8.4.12",
  123. "postcss-html": "^1.4.1",
  124. "postcss-less": "^6.0.0",
  125. "prettier": "^2.6.2",
  126. "rimraf": "^3.0.2",
  127. "rollup": "^2.70.2",
  128. "rollup-plugin-visualizer": "^5.6.0",
  129. "sass": "^1.57.1",
  130. "stylelint": "^14.7.1",
  131. "stylelint-config-prettier": "^9.0.3",
  132. "stylelint-config-recommended": "^7.0.0",
  133. "stylelint-config-recommended-vue": "^1.4.0",
  134. "stylelint-config-standard": "^25.0.0",
  135. "stylelint-order": "^5.0.0",
  136. "ts-node": "^10.7.0",
  137. "typescript": "^4.6.3",
  138. "vite": "^2.9.5",
  139. "vite-plugin-compression": "^0.5.1",
  140. "vite-plugin-html": "^3.2.0",
  141. "vite-plugin-imagemin": "^0.6.1",
  142. "vite-plugin-mkcert": "^1.6.0",
  143. "vite-plugin-mock": "^2.9.6",
  144. "vite-plugin-purge-icons": "^0.8.1",
  145. "vite-plugin-pwa": "^0.11.13",
  146. "vite-plugin-style-import": "^2.0.0",
  147. "vite-plugin-svg-icons": "^2.0.1",
  148. "vite-plugin-theme": "^0.8.6",
  149. "vite-plugin-vue-setup-extend": "^0.4.0",
  150. "vite-plugin-windicss": "^1.8.4",
  151. "vue-eslint-parser": "^8.3.0",
  152. "vue-tsc": "^1.0.9"
  153. },
  154. "resolutions": {
  155. "bin-wrapper": "npm:bin-wrapper-china",
  156. "rollup": "^2.56.3",
  157. "gifsicle": "5.2.0"
  158. },
  159. "repository": {
  160. "type": "git",
  161. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  162. },
  163. "license": "MIT",
  164. "bugs": {
  165. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  166. },
  167. "homepage": "https://github.com/anncwb/vue-vben-admin",
  168. "engines": {
  169. "node": "^12 || >=14"
  170. },
  171. "lint-staged": {
  172. "*.{js,jsx,ts,tsx}": [
  173. "eslint --fix",
  174. "prettier --write"
  175. ],
  176. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  177. "prettier --write--parser json"
  178. ],
  179. "package.json": [
  180. "prettier --write"
  181. ],
  182. "*.vue": [
  183. "eslint --fix",
  184. "prettier --write",
  185. "stylelint --fix"
  186. ],
  187. "*.{scss,less,styl,html}": [
  188. "stylelint --fix",
  189. "prettier --write"
  190. ],
  191. "*.md": [
  192. "prettier --write"
  193. ]
  194. },
  195. "config": {
  196. "commitizen": {
  197. "path": "node_modules/cz-git"
  198. }
  199. }
  200. }