package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. {
  2. "name": "vben-admin",
  3. "version": "2.11.2",
  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. "dev:cloud": "pnpm vite --mode cloud",
  29. "preinstall": "npx only-allow pnpm",
  30. "postinstall": "turbo run stub",
  31. "lint": "turbo run lint",
  32. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  33. "lint:prettier": "prettier --write .",
  34. "lint:stylelint": "stylelint \"**/*.{vue,css,less,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
  35. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  36. "prepare": "husky install",
  37. "preview": "npm run build && vite preview",
  38. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  39. "serve": "npm run dev",
  40. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  41. "type:check": "vue-tsc --noEmit --skipLibCheck"
  42. },
  43. "lint-staged": {
  44. "*.{js,jsx,ts,tsx}": [
  45. "prettier --write",
  46. "eslint --fix"
  47. ],
  48. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  49. "prettier --write--parser json"
  50. ],
  51. "package.json": [
  52. "prettier --write"
  53. ],
  54. "*.vue": [
  55. "prettier --write",
  56. "eslint --fix",
  57. "stylelint --fix"
  58. ],
  59. "*.{scss,less,styl,html}": [
  60. "prettier --write",
  61. "stylelint --fix"
  62. ],
  63. "*.md": [
  64. "prettier --write"
  65. ]
  66. },
  67. "config": {
  68. "commitizen": {
  69. "path": "node_modules/cz-git"
  70. }
  71. },
  72. "dependencies": {
  73. "@ant-design/icons-vue": "^7.0.1",
  74. "@iconify/iconify": "^3.1.1",
  75. "@logicflow/core": "^1.2.26",
  76. "@logicflow/extension": "^1.2.26",
  77. "@vben/hooks": "workspace:*",
  78. "@vue/shared": "^3.4.24",
  79. "@vueuse/core": "^10.9.0",
  80. "@zxcvbn-ts/core": "^3.0.4",
  81. "ant-design-vue": "^4.2.0",
  82. "axios": "^1.6.8",
  83. "codemirror": "^5.65.16",
  84. "cropperjs": "^1.6.2",
  85. "crypto-js": "^4.2.0",
  86. "dayjs": "^1.11.10",
  87. "echarts": "^5.5.0",
  88. "exceljs": "^4.4.0",
  89. "lodash-es": "^4.17.21",
  90. "mockjs": "^1.1.0",
  91. "nprogress": "^0.2.0",
  92. "path-to-regexp": "^6.2.2",
  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.12.1",
  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.59.4",
  103. "vditor": "^3.10.4",
  104. "vue": "^3.4.24",
  105. "vue-i18n": "^9.13.1",
  106. "vue-json-pretty": "^2.4.0",
  107. "vue-router": "^4.3.2",
  108. "vue-types": "^5.1.1",
  109. "vuedraggable": "^4.1.0",
  110. "vxe-table": "^4.6.0",
  111. "vxe-table-plugin-export-xlsx": "^4.0.1",
  112. "xe-utils": "^3.5.25",
  113. "xlsx": "^0.18.5"
  114. },
  115. "devDependencies": {
  116. "@commitlint/cli": "^19.3.0",
  117. "@commitlint/config-conventional": "^19.2.2",
  118. "@iconify/json": "^2.2.203",
  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.15",
  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.24",
  135. "@vue/test-utils": "^2.4.5",
  136. "conventional-changelog-cli": "^4.1.0",
  137. "cross-env": "^7.0.3",
  138. "cz-git": "^1.9.1",
  139. "czg": "^1.9.1",
  140. "husky": "^9.0.11",
  141. "lint-staged": "15.2.2",
  142. "prettier": "^3.2.5",
  143. "prettier-plugin-packagejson": "^2.5.0",
  144. "rimraf": "^5.0.5",
  145. "turbo": "^1.13.2",
  146. "typescript": "^5.4.5",
  147. "unbuild": "^2.0.0",
  148. "vite": "^5.2.10",
  149. "vite-plugin-mock": "^2.9.6",
  150. "vite-plugin-vue-inspector": "^5.0.1",
  151. "vue-tsc": "^2.0.14"
  152. },
  153. "packageManager": "pnpm@9.0.4",
  154. "engines": {
  155. "node": ">=18.12.0",
  156. "pnpm": ">=9.0.2"
  157. }
  158. }