package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. {
  2. "name": "yudao-ui-admin-vben",
  3. "version": "2.1.0-snapshot",
  4. "packageManager": "pnpm@8.9.0",
  5. "author": {
  6. "name": "xingyuv",
  7. "email": "xingyu4j@vip.qq.com",
  8. "url": "https://gitee.com/xingyuv"
  9. },
  10. "license": "MIT",
  11. "homepage": "https://gitee.com/xingyuv",
  12. "repository": {
  13. "type": "git",
  14. "url": "git+https://gitee.com/xingyuv/vue-vben-admin.git"
  15. },
  16. "bugs": {
  17. "url": "https://gitee.com/xingyuv/issues"
  18. },
  19. "engines": {
  20. "node": "^18.0.0 || >=20.0.0",
  21. "pnpm": ">=8.9.0"
  22. },
  23. "scripts": {
  24. "commit": "czg",
  25. "bootstrap": "pnpm install",
  26. "serve": "pnpm dev",
  27. "dev": "vite",
  28. "front": "vite --mode front",
  29. "build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 vite build && esno ./build/script/postBuild.ts",
  30. "build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode test && esno ./build/script/postBuild.ts",
  31. "build:static": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build --mode static && esno ./build/script/postBuild.ts",
  32. "build:no-cache": "pnpm store prune && pnpm build",
  33. "report": "cross-env REPORT=true pnpm build",
  34. "type:check": "vue-tsc --noEmit --skipLibCheck",
  35. "preview": "pnpm build && vite preview",
  36. "preview:dist": "vite preview",
  37. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  38. "clean:lib": "rimraf node_modules",
  39. "lint": "eslint .",
  40. "lint:fix": "eslint . --fix",
  41. "lint:stylelint": "stylelint \"**/*.{vue,css,less,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
  42. "lint:lint-staged": "lint-staged",
  43. "reinstall": "rimraf pnpm-lock.yaml && rimraf node_modules && npm run bootstrap",
  44. "prepare": "husky install",
  45. "gen:icon": "esno ./build/generate/icon/index.ts"
  46. },
  47. "dependencies": {
  48. "@ant-design/colors": "^7.0.0",
  49. "@ant-design/icons-vue": "^7.0.1",
  50. "@iconify/iconify": "^3.1.1",
  51. "@videojs-player/vue": "^1.0.0",
  52. "@vue/runtime-core": "^3.3.8",
  53. "@vueuse/core": "^10.6.1",
  54. "@zxcvbn-ts/core": "^3.0.4",
  55. "ant-design-vue": "^4.0.7",
  56. "axios": "^1.6.1",
  57. "benz-amr-recorder": "^1.1.5",
  58. "codemirror": "5.65.15",
  59. "cron-parser": "^4.9.0",
  60. "cropperjs": "^1.6.1",
  61. "crypto-js": "^4.2.0",
  62. "dayjs": "^1.11.10",
  63. "echarts": "^5.4.3",
  64. "lodash-es": "^4.17.21",
  65. "nprogress": "^0.2.0",
  66. "path-to-regexp": "^6.2.1",
  67. "pinia": "^2.1.7",
  68. "pinia-plugin-persistedstate": "^3.2.0",
  69. "print-js": "^1.6.0",
  70. "qs": "^6.11.2",
  71. "resize-observer-polyfill": "^1.5.1",
  72. "sortablejs": "^1.15.0",
  73. "tinymce": "5.10.7",
  74. "vditor": "^3.9.6",
  75. "video.js": "^7.21.5",
  76. "vue": "^3.3.8",
  77. "vue-i18n": "^9.6.5",
  78. "vue-json-pretty": "^2.2.4",
  79. "vue-router": "^4.2.5",
  80. "vue-types": "^5.1.1",
  81. "vuedraggable": "^4.1.0",
  82. "xlsx": "^0.18.5"
  83. },
  84. "devDependencies": {
  85. "@antfu/eslint-config": "^1.1.1",
  86. "@commitlint/cli": "^18.4.1",
  87. "@commitlint/config-conventional": "^18.4.0",
  88. "@iconify/json": "^2.2.141",
  89. "@purge-icons/generated": "^0.9.0",
  90. "@types/codemirror": "^5.60.13",
  91. "@types/crypto-js": "^4.2.1",
  92. "@types/fs-extra": "^11.0.4",
  93. "@types/inquirer": "^9.0.7",
  94. "@types/lodash-es": "^4.17.11",
  95. "@types/node": "^20.9.0",
  96. "@types/nprogress": "^0.2.3",
  97. "@types/qs": "^6.9.10",
  98. "@types/sortablejs": "^1.15.5",
  99. "@unocss/eslint-config": "^0.57.3",
  100. "@vitejs/plugin-vue": "4.4.1",
  101. "@vitejs/plugin-vue-jsx": "^3.0.2",
  102. "@vue/compiler-sfc": "^3.3.8",
  103. "cross-env": "^7.0.3",
  104. "cz-git": "^1.7.1",
  105. "czg": "^1.7.1",
  106. "dotenv": "^16.3.1",
  107. "eslint": "^8.53.0",
  108. "esno": "^4.0.0",
  109. "fs-extra": "^11.1.1",
  110. "husky": "^8.0.3",
  111. "inquirer": "^9.2.12",
  112. "less": "^4.2.0",
  113. "lint-staged": "^15.1.0",
  114. "picocolors": "^1.0.0",
  115. "postcss": "^8.4.31",
  116. "postcss-html": "^1.5.0",
  117. "postcss-less": "^6.0.0",
  118. "prettier": "^3.1.0",
  119. "rimraf": "^5.0.5",
  120. "rollup": "^4.4.0",
  121. "rollup-plugin-visualizer": "^5.9.2",
  122. "stylelint": "^15.11.0",
  123. "stylelint-config-recess-order": "^4.3.0",
  124. "stylelint-config-recommended": "^13.0.0",
  125. "stylelint-config-recommended-vue": "^1.5.0",
  126. "stylelint-config-standard": "^34.0.0",
  127. "stylelint-order": "^6.0.3",
  128. "stylelint-prettier": "^4.0.2",
  129. "terser": "^5.24.0",
  130. "typescript": "^5.2.2",
  131. "unocss": "^0.57.3",
  132. "vite": "^4.5.0",
  133. "vite-plugin-compression": "^0.5.1",
  134. "vite-plugin-mkcert": "^1.16.0",
  135. "vite-plugin-progress": "^0.0.7",
  136. "vite-plugin-purge-icons": "^0.9.2",
  137. "vite-plugin-pwa": "^0.16.7",
  138. "vite-plugin-svg-icons": "^2.0.1",
  139. "vite-vue-plugin-html": "^1.0.5",
  140. "vue-tsc": "^1.8.22"
  141. },
  142. "lint-staged": {
  143. "*.{js,jsx,ts,tsx}": [
  144. "eslint --fix"
  145. ],
  146. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  147. "prettier --write--parser json"
  148. ],
  149. "package.json": [
  150. "prettier --write"
  151. ],
  152. "*.vue": [
  153. "eslint --fix",
  154. "stylelint --fix"
  155. ],
  156. "*.{scss,less,styl,html}": [
  157. "stylelint --fix"
  158. ],
  159. "*.md": [
  160. "prettier --write"
  161. ]
  162. },
  163. "config": {
  164. "commitizen": {
  165. "path": "node_modules/cz-git"
  166. }
  167. }
  168. }