package.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. "commit": "czg",
  20. "bootstrap": "pnpm install",
  21. "serve": "npm run dev",
  22. "dev": "vite",
  23. "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
  24. "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  25. "build:no-cache": "pnpm clean:cache && npm run build",
  26. "report": "cross-env REPORT=true npm run build",
  27. "type:check": "vue-tsc --noEmit --skipLibCheck",
  28. "preview": "npm run build && vite preview",
  29. "preview:dist": "vite preview",
  30. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  31. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  32. "clean:lib": "rimraf node_modules",
  33. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  34. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  35. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  36. "lint:lint-staged": "lint-staged",
  37. "test:unit": "jest",
  38. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  39. "test:br": "npx http-server dist --cors --brotli -c-1",
  40. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  41. "preinstall": "npx only-allow pnpm",
  42. "prepare": "husky install",
  43. "gen:icon": "esno ./build/generate/icon/index.ts"
  44. },
  45. "lint-staged": {
  46. "*.{js,jsx,ts,tsx}": [
  47. "eslint --fix",
  48. "prettier --write"
  49. ],
  50. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  51. "prettier --write--parser json"
  52. ],
  53. "package.json": [
  54. "prettier --write"
  55. ],
  56. "*.vue": [
  57. "eslint --fix",
  58. "prettier --write",
  59. "stylelint --fix"
  60. ],
  61. "*.{scss,less,styl,html}": [
  62. "stylelint --fix",
  63. "prettier --write"
  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": "^6.0.0",
  76. "@ant-design/icons-vue": "^6.1.0",
  77. "@iconify/iconify": "^2.2.1",
  78. "@logicflow/core": "^1.1.13",
  79. "@logicflow/extension": "^1.1.13",
  80. "@vue/runtime-core": "^3.2.33",
  81. "@vue/shared": "^3.2.33",
  82. "@vueuse/core": "^8.3.0",
  83. "@vueuse/shared": "^8.3.0",
  84. "@zxcvbn-ts/core": "^2.0.1",
  85. "ant-design-vue": "^3.2.0",
  86. "axios": "^0.26.1",
  87. "codemirror": "^5.65.3",
  88. "cropperjs": "^1.5.12",
  89. "crypto-js": "^4.1.1",
  90. "dayjs": "^1.11.1",
  91. "echarts": "^5.3.2",
  92. "exceljs": "^4.3.0",
  93. "intro.js": "^5.1.0",
  94. "lodash-es": "^4.17.21",
  95. "mockjs": "^1.1.0",
  96. "nprogress": "^0.2.0",
  97. "path-to-regexp": "^6.2.0",
  98. "pinia": "2.0.12",
  99. "print-js": "^1.6.0",
  100. "qrcode": "^1.5.0",
  101. "qs": "^6.10.3",
  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.8.13",
  107. "vue": "^3.2.47",
  108. "vue-i18n": "^9.1.9",
  109. "vue-json-pretty": "^2.0.6",
  110. "vue-router": "^4.0.14",
  111. "vue-types": "^4.1.1",
  112. "vuedraggable": "^4.1.0",
  113. "vxe-table": "^4.3.9",
  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": "^16.2.3",
  120. "@commitlint/config-conventional": "^16.2.1",
  121. "@iconify/json": "^2.1.30",
  122. "@purge-icons/generated": "^0.8.1",
  123. "@types/codemirror": "^5.60.5",
  124. "@types/crypto-js": "^4.1.1",
  125. "@types/fs-extra": "^9.0.13",
  126. "@types/inquirer": "^8.2.1",
  127. "@types/intro.js": "^3.0.2",
  128. "@types/lodash-es": "^4.17.6",
  129. "@types/mockjs": "^1.0.6",
  130. "@types/node": "^17.0.25",
  131. "@types/nprogress": "^0.2.0",
  132. "@types/qrcode": "^1.4.2",
  133. "@types/qs": "^6.9.7",
  134. "@types/showdown": "^1.9.4",
  135. "@types/sortablejs": "^1.10.7",
  136. "@typescript-eslint/eslint-plugin": "^5.20.0",
  137. "@typescript-eslint/parser": "^5.20.0",
  138. "@vitejs/plugin-vue": "^2.3.1",
  139. "@vitejs/plugin-vue-jsx": "^1.3.10",
  140. "@vue/compiler-sfc": "^3.2.33",
  141. "@vue/test-utils": "^2.0.0-rc.21",
  142. "autoprefixer": "^10.4.4",
  143. "conventional-changelog-cli": "^2.2.2",
  144. "cross-env": "^7.0.3",
  145. "cz-git": "^1.3.9",
  146. "czg": "^1.3.9",
  147. "dotenv": "^16.0.0",
  148. "eslint": "^8.13.0",
  149. "eslint-config-prettier": "^8.5.0",
  150. "eslint-plugin-prettier": "^4.0.0",
  151. "eslint-plugin-vue": "^8.6.0",
  152. "esno": "^0.14.1",
  153. "fs-extra": "^10.1.0",
  154. "husky": "^7.0.4",
  155. "inquirer": "^8.2.2",
  156. "less": "^4.1.2",
  157. "lint-staged": "12.3.7",
  158. "npm-run-all": "^4.1.5",
  159. "picocolors": "^1.0.0",
  160. "postcss": "^8.4.12",
  161. "postcss-html": "^1.4.1",
  162. "postcss-less": "^6.0.0",
  163. "prettier": "^2.6.2",
  164. "rimraf": "^3.0.2",
  165. "rollup": "^2.70.2",
  166. "rollup-plugin-visualizer": "^5.6.0",
  167. "sass": "^1.57.1",
  168. "stylelint": "^14.7.1",
  169. "stylelint-config-prettier": "^9.0.3",
  170. "stylelint-config-recommended": "^7.0.0",
  171. "stylelint-config-recommended-vue": "^1.4.0",
  172. "stylelint-config-standard": "^25.0.0",
  173. "stylelint-order": "^5.0.0",
  174. "ts-node": "^10.7.0",
  175. "typescript": "^4.6.3",
  176. "vite": "^2.9.5",
  177. "vite-plugin-compression": "^0.5.1",
  178. "vite-plugin-html": "^3.2.0",
  179. "vite-plugin-mkcert": "^1.6.0",
  180. "vite-plugin-mock": "^2.9.6",
  181. "vite-plugin-purge-icons": "^0.8.1",
  182. "vite-plugin-svg-icons": "^2.0.1",
  183. "vite-plugin-theme": "^0.8.6",
  184. "vite-plugin-windicss": "^1.8.4",
  185. "vue-eslint-parser": "^8.3.0",
  186. "vue-tsc": "^1.0.9"
  187. },
  188. "packageManager": "pnpm@8.1.0",
  189. "engines": {
  190. "node": ">=16.15.1",
  191. "pnpm": ">=8.1.0"
  192. }
  193. }