package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "name": "Mir3管理平台",
  3. "version": "1.0.1",
  4. "homepage": "https://github.com/vbenjs/vue-vben-admin",
  5. "bugs": {
  6. "url": "https://github.com/vbenjs/vue-vben-admin/issues"
  7. },
  8. "repository": {
  9. "type": "git",
  10. "url": "git+https://github.com/vbenjs/vue-vben-admin.git"
  11. },
  12. "license": "MIT",
  13. "author": {
  14. "name": "vben",
  15. "email": "anncwb@126.com",
  16. "url": "https://github.com/anncwb"
  17. },
  18. "type": "module",
  19. "scripts": {
  20. "bootstrap": "pnpm install",
  21. "build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build",
  22. "build:analyze": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode analyze",
  23. "build:docker": "vite build --mode docker",
  24. "build:no-cache": "pnpm store prune && npm run build",
  25. "build:test": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build --mode test",
  26. "commit": "czg",
  27. "dev": "pnpm vite",
  28. "preinstall": "npx only-allow pnpm",
  29. "postinstall": "turbo run stub",
  30. "lint": "turbo run lint",
  31. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  32. "lint:prettier": "prettier --write .",
  33. "lint:stylelint": "stylelint \"**/*.{vue,css,less,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
  34. "prepare": "husky install",
  35. "preview": "npm run build && vite preview",
  36. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  37. "serve": "npm run dev",
  38. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  39. "type:check": "vue-tsc --noEmit --skipLibCheck"
  40. },
  41. "lint-staged": {
  42. "*.{js,jsx,ts,tsx}": [
  43. "prettier --write",
  44. "eslint --fix"
  45. ],
  46. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  47. "prettier --write--parser json"
  48. ],
  49. "package.json": [
  50. "prettier --write"
  51. ],
  52. "*.vue": [
  53. "prettier --write",
  54. "eslint --fix",
  55. "stylelint --fix"
  56. ],
  57. "*.{scss,less,styl,html}": [
  58. "prettier --write",
  59. "stylelint --fix"
  60. ],
  61. "*.md": [
  62. "prettier --write"
  63. ]
  64. },
  65. "config": {
  66. "commitizen": {
  67. "path": "node_modules/cz-git"
  68. }
  69. },
  70. "dependencies": {
  71. "@ant-design/icons-vue": "^7.0.1",
  72. "@iconify/iconify": "^3.1.1",
  73. "@logicflow/core": "^1.2.22",
  74. "@logicflow/extension": "^1.2.22",
  75. "@vben/hooks": "workspace:*",
  76. "@vue/shared": "^3.4.19",
  77. "@vueuse/core": "^10.7.2",
  78. "@zxcvbn-ts/core": "^3.0.4",
  79. "ant-design-vue": "^4.1.2",
  80. "axios": "^1.6.7",
  81. "codemirror": "^5.65.16",
  82. "cropperjs": "^1.6.1",
  83. "crypto-js": "^4.2.0",
  84. "dayjs": "^1.11.10",
  85. "driver.js": "^1.3.1",
  86. "echarts": "^5.4.3",
  87. "exceljs": "^4.4.0",
  88. "lodash-es": "^4.17.21",
  89. "mockjs": "^1.1.0",
  90. "mysql": "^2.18.1",
  91. "nprogress": "^0.2.0",
  92. "path-to-regexp": "^6.2.1",
  93. "pinia": "2.1.7",
  94. "pinia-plugin-persistedstate": "^3.2.1",
  95. "print-js": "^1.6.0",
  96. "qrcode": "^1.5.3",
  97. "qs": "^6.11.2",
  98. "resize-observer-polyfill": "^1.5.1",
  99. "showdown": "^2.1.0",
  100. "sortablejs": "^1.15.2",
  101. "tinymce": "^5.10.9",
  102. "unocss": "^0.58.5",
  103. "vditor": "^3.9.9",
  104. "vue": "^3.4.19",
  105. "vue-i18n": "^9.9.1",
  106. "vue-json-pretty": "^2.3.0",
  107. "vue-router": "^4.2.5",
  108. "vue-types": "^5.1.1",
  109. "vuedraggable": "^4.1.0",
  110. "vxe-table": "^4.5.18",
  111. "vxe-table-plugin-export-xlsx": "^4.0.1",
  112. "xe-utils": "^3.5.20",
  113. "xlsx": "^0.18.5"
  114. },
  115. "devDependencies": {
  116. "@commitlint/cli": "^18.6.1",
  117. "@commitlint/config-conventional": "^18.6.2",
  118. "@iconify/json": "^2.2.183",
  119. "@purge-icons/generated": "^0.10.0",
  120. "@types/codemirror": "^5.60.15",
  121. "@types/crypto-js": "^4.2.2",
  122. "@types/lodash-es": "^4.17.12",
  123. "@types/mockjs": "^1.0.10",
  124. "@types/nprogress": "^0.2.3",
  125. "@types/qrcode": "^1.5.5",
  126. "@types/qs": "^6.9.11",
  127. "@types/showdown": "^2.0.6",
  128. "@types/sortablejs": "^1.15.8",
  129. "@vben/eslint-config": "workspace:*",
  130. "@vben/stylelint-config": "workspace:*",
  131. "@vben/ts-config": "workspace:*",
  132. "@vben/types": "workspace:*",
  133. "@vben/vite-config": "workspace:*",
  134. "@vue/compiler-sfc": "^3.4.19",
  135. "@vue/test-utils": "^2.4.4",
  136. "cross-env": "^7.0.3",
  137. "cz-git": "^1.8.0",
  138. "czg": "^1.8.0",
  139. "husky": "^9.0.11",
  140. "lint-staged": "15.2.2",
  141. "prettier": "^3.2.5",
  142. "prettier-plugin-packagejson": "^2.4.11",
  143. "rimraf": "^5.0.5",
  144. "turbo": "^1.12.4",
  145. "typescript": "^5.3.3",
  146. "unbuild": "^2.0.0",
  147. "vite": "^5.1.3",
  148. "vite-plugin-mock": "^2.9.6",
  149. "vue-tsc": "^1.8.27"
  150. },
  151. "packageManager": "pnpm@8.10.0",
  152. "engines": {
  153. "node": ">=18.12.0",
  154. "pnpm": ">=8.10.0"
  155. }
  156. }