package.json 4.6 KB

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