package.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. {
  2. "name": "vben-admin",
  3. "version": "2.9.0",
  4. "homepage": "https://github.com/anncwb/vue-vben-admin",
  5. "bugs": {
  6. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  7. },
  8. "repository": {
  9. "type": "git",
  10. "url": "git+https://github.com/anncwb/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 vite build && esno ./build/script/postBuild.ts",
  21. "build:no-cache": "pnpm clean:cache && npm run build",
  22. "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  23. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  24. "clean:lib": "rimraf node_modules",
  25. "commit": "czg",
  26. "dev": "vite",
  27. "gen:icon": "esno ./build/generate/icon/index.ts",
  28. "preinstall": "npx only-allow pnpm",
  29. "postinstall": "turbo run stub",
  30. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  31. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  32. "lint:stylelint": "stylelint \"**/*.{vue,css,less.scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
  33. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  34. "prepare": "husky install",
  35. "preview": "npm run build && vite preview",
  36. "preview:dist": "vite preview",
  37. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  38. "report": "cross-env REPORT=true npm run build",
  39. "serve": "npm run dev",
  40. "test:br": "npx http-server dist --cors --brotli -c-1",
  41. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  42. "test:unit": "jest",
  43. "type:check": "vue-tsc --noEmit --skipLibCheck"
  44. },
  45. "lint-staged": {
  46. "*.{js,jsx,ts,tsx}": [
  47. "prettier --write",
  48. "eslint --fix"
  49. ],
  50. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  51. "prettier --write--parser json"
  52. ],
  53. "package.json": [
  54. "prettier --write"
  55. ],
  56. "*.vue": [
  57. "prettier --write",
  58. "eslint --fix",
  59. "stylelint --fix"
  60. ],
  61. "*.{scss,less,styl,html}": [
  62. "prettier --write",
  63. "stylelint --fix"
  64. ],
  65. "*.md": [
  66. "prettier --write"
  67. ]
  68. },
  69. "config": {
  70. "commitizen": {
  71. "path": "node_modules/cz-git"
  72. }
  73. },
  74. "dependencies": {
  75. "@ant-design/colors": "^7.0.0",
  76. "@ant-design/icons-vue": "^6.1.0",
  77. "@iconify/iconify": "^3.1.0",
  78. "@logicflow/core": "^1.2.1",
  79. "@logicflow/extension": "^1.2.1",
  80. "@vue/runtime-core": "^3.2.47",
  81. "@vue/shared": "^3.2.47",
  82. "@vueuse/core": "^9.13.0",
  83. "@vueuse/shared": "^9.13.0",
  84. "@zxcvbn-ts/core": "^2.2.1",
  85. "ant-design-vue": "^3.2.16",
  86. "axios": "^1.3.4",
  87. "codemirror": "^5.65.12",
  88. "cropperjs": "^1.5.13",
  89. "crypto-js": "^4.1.1",
  90. "dayjs": "^1.11.7",
  91. "echarts": "^5.4.2",
  92. "exceljs": "^4.3.0",
  93. "intro.js": "^7.0.1",
  94. "lodash-es": "^4.17.21",
  95. "mockjs": "^1.1.0",
  96. "nprogress": "^0.2.0",
  97. "path-to-regexp": "^6.2.1",
  98. "pinia": "2.0.33",
  99. "print-js": "^1.6.0",
  100. "qrcode": "^1.5.1",
  101. "qs": "^6.11.1",
  102. "resize-observer-polyfill": "^1.5.1",
  103. "showdown": "^2.1.0",
  104. "sortablejs": "^1.15.0",
  105. "tinymce": "^5.10.7",
  106. "vditor": "^3.9.1",
  107. "vue": "^3.2.47",
  108. "vue-i18n": "^9.2.2",
  109. "vue-json-pretty": "^2.2.4",
  110. "vue-router": "^4.1.6",
  111. "vue-types": "^5.0.2",
  112. "vuedraggable": "^4.1.0",
  113. "vxe-table": "^4.3.11",
  114. "vxe-table-plugin-export-xlsx": "^3.0.4",
  115. "xe-utils": "^3.5.7",
  116. "xlsx": "^0.18.5"
  117. },
  118. "devDependencies": {
  119. "@commitlint/cli": "^17.5.1",
  120. "@commitlint/config-conventional": "^17.4.4",
  121. "@iconify/json": "^2.2.43",
  122. "@purge-icons/generated": "^0.9.0",
  123. "@types/codemirror": "^5.60.7",
  124. "@types/crypto-js": "^4.1.1",
  125. "@types/fs-extra": "^11.0.1",
  126. "@types/inquirer": "^8.2.6",
  127. "@types/intro.js": "^5.1.1",
  128. "@types/lodash-es": "^4.17.7",
  129. "@types/mockjs": "^1.0.7",
  130. "@types/node": "^18.15.11",
  131. "@types/nprogress": "^0.2.0",
  132. "@types/qrcode": "^1.5.0",
  133. "@types/qs": "^6.9.7",
  134. "@types/showdown": "^2.0.0",
  135. "@types/sortablejs": "^1.15.1",
  136. "@vben/eslint-config": "workspace:*",
  137. "@vben/stylelint-config": "workspace:*",
  138. "@vben/ts-config": "workspace:*",
  139. "@vitejs/plugin-vue": "^4.1.0",
  140. "@vitejs/plugin-vue-jsx": "^3.0.1",
  141. "@vue/compiler-sfc": "^3.2.47",
  142. "@vue/test-utils": "^2.3.2",
  143. "autoprefixer": "^10.4.14",
  144. "conventional-changelog-cli": "^2.2.2",
  145. "cross-env": "^7.0.3",
  146. "cz-git": "^1.6.1",
  147. "czg": "^1.6.1",
  148. "dotenv": "^16.0.3",
  149. "esno": "^0.16.3",
  150. "fs-extra": "^11.1.1",
  151. "husky": "^8.0.3",
  152. "inquirer": "^9.1.5",
  153. "less": "^4.1.3",
  154. "lint-staged": "13.2.0",
  155. "picocolors": "^1.0.0",
  156. "postcss": "^8.4.21",
  157. "postcss-html": "^1.5.0",
  158. "postcss-less": "^6.0.0",
  159. "prettier": "^2.8.7",
  160. "prettier-plugin-packagejson": "^2.4.3",
  161. "rimraf": "^4.4.1",
  162. "rollup-plugin-visualizer": "^5.9.0",
  163. "sass": "^1.60.0",
  164. "turbo": "^1.8.8",
  165. "typescript": "^5.0.3",
  166. "unbuild": "^1.2.0",
  167. "vite": "^4.3.0-beta.1",
  168. "vite-plugin-compression": "^0.5.1",
  169. "vite-plugin-html": "^3.2.0",
  170. "vite-plugin-mock": "^2.9.6",
  171. "vite-plugin-purge-icons": "^0.9.2",
  172. "vite-plugin-svg-icons": "^2.0.1",
  173. "vite-plugin-windicss": "^1.8.10",
  174. "vue-tsc": "^1.2.0"
  175. },
  176. "packageManager": "pnpm@8.1.0",
  177. "engines": {
  178. "node": ">=16.15.1",
  179. "pnpm": ">=8.1.0"
  180. }
  181. }