package.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. {
  2. "name": "vben-admin",
  3. "version": "2.8.0",
  4. "author": {
  5. "name": "vben",
  6. "email": "anncwb@126.com",
  7. "url": "https://github.com/anncwb"
  8. },
  9. "scripts": {
  10. "bootstrap": "pnpm install",
  11. "serve": "npm run dev",
  12. "dev": "vite",
  13. "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
  14. "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts",
  15. "build:no-cache": "pnpm clean:cache && npm run build",
  16. "report": "cross-env REPORT=true npm run build",
  17. "type:check": "vue-tsc --noEmit --skipLibCheck",
  18. "preview": "npm run build && vite preview",
  19. "preview:dist": "vite preview",
  20. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  21. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  22. "clean:lib": "rimraf node_modules",
  23. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  24. "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  25. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  26. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  27. "test:unit": "jest",
  28. "test:unit-coverage": "jest --coverage",
  29. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  30. "test:br": "npx http-server dist --cors --brotli -c-1",
  31. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  32. "prepare": "husky install",
  33. "gen:icon": "esno ./build/generate/icon/index.ts"
  34. },
  35. "dependencies": {
  36. "@ant-design/colors": "^6.0.0",
  37. "@ant-design/icons-vue": "^6.0.1",
  38. "@iconify/iconify": "^2.0.4",
  39. "@logicflow/core": "^0.7.5",
  40. "@logicflow/extension": "^0.7.5",
  41. "@vueuse/core": "^6.8.0",
  42. "@vueuse/shared": "^6.8.0",
  43. "@zxcvbn-ts/core": "^1.0.0",
  44. "ant-design-vue": "2.2.8",
  45. "axios": "^0.24.0",
  46. "codemirror": "^5.63.3",
  47. "cropperjs": "^1.5.12",
  48. "crypto-js": "^4.1.1",
  49. "echarts": "^5.2.2",
  50. "intro.js": "^4.3.0",
  51. "lodash-es": "^4.17.21",
  52. "mockjs": "^1.1.0",
  53. "moment": "^2.29.1",
  54. "nprogress": "^0.2.0",
  55. "path-to-regexp": "^6.2.0",
  56. "pinia": "2.0.2",
  57. "print-js": "^1.6.0",
  58. "qrcode": "^1.4.4",
  59. "qs": "^6.10.1",
  60. "resize-observer-polyfill": "^1.5.1",
  61. "showdown": "^1.9.1",
  62. "sortablejs": "^1.14.0",
  63. "tinymce": "^5.10.1",
  64. "vditor": "^3.8.7",
  65. "vue": "^3.2.21",
  66. "vue-i18n": "^9.1.9",
  67. "vue-json-pretty": "^2.0.5",
  68. "vue-router": "^4.0.12",
  69. "vue-types": "^4.1.1",
  70. "xlsx": "^0.17.3"
  71. },
  72. "devDependencies": {
  73. "@commitlint/cli": "^14.1.0",
  74. "@commitlint/config-conventional": "^14.1.0",
  75. "@iconify/json": "^1.1.426",
  76. "@purge-icons/generated": "^0.7.0",
  77. "@types/codemirror": "^5.60.5",
  78. "@types/crypto-js": "^4.0.2",
  79. "@types/fs-extra": "^9.0.13",
  80. "@types/inquirer": "^8.1.3",
  81. "@types/intro.js": "^3.0.2",
  82. "@types/jest": "^27.0.2",
  83. "@types/lodash-es": "^4.17.5",
  84. "@types/mockjs": "^1.0.4",
  85. "@types/node": "^16.11.7",
  86. "@types/nprogress": "^0.2.0",
  87. "@types/qrcode": "^1.4.1",
  88. "@types/qs": "^6.9.7",
  89. "@types/showdown": "^1.9.4",
  90. "@types/sortablejs": "^1.10.7",
  91. "@typescript-eslint/eslint-plugin": "^5.3.1",
  92. "@typescript-eslint/parser": "^5.3.1",
  93. "@vitejs/plugin-legacy": "^1.6.2",
  94. "@vitejs/plugin-vue": "^1.9.4",
  95. "@vitejs/plugin-vue-jsx": "^1.2.0",
  96. "@vue/compiler-sfc": "3.2.21",
  97. "@vue/test-utils": "^2.0.0-rc.16",
  98. "autoprefixer": "^10.4.0",
  99. "commitizen": "^4.2.4",
  100. "conventional-changelog-cli": "^2.1.1",
  101. "cross-env": "^7.0.3",
  102. "dotenv": "^10.0.0",
  103. "eslint": "^8.2.0",
  104. "eslint-config-prettier": "^8.3.0",
  105. "eslint-define-config": "^1.1.3",
  106. "eslint-plugin-jest": "^25.2.4",
  107. "eslint-plugin-prettier": "^4.0.0",
  108. "eslint-plugin-vue": "^8.0.3",
  109. "esno": "^0.12.0",
  110. "fs-extra": "^10.0.0",
  111. "husky": "^7.0.4",
  112. "inquirer": "^8.2.0",
  113. "jest": "^27.3.1",
  114. "less": "^4.1.2",
  115. "lint-staged": "11.2.6",
  116. "npm-run-all": "^4.1.5",
  117. "postcss": "^8.3.11",
  118. "postcss-html": "^1.2.0",
  119. "postcss-less": "^5.0.0",
  120. "prettier": "^2.4.1",
  121. "rimraf": "^3.0.2",
  122. "rollup-plugin-visualizer": "^5.5.2",
  123. "stylelint": "^14.0.1",
  124. "stylelint-config-html": "^1.0.0",
  125. "stylelint-config-prettier": "^9.0.3",
  126. "stylelint-config-standard": "^23.0.0",
  127. "stylelint-order": "^5.0.0",
  128. "ts-jest": "^27.0.7",
  129. "ts-node": "^10.4.0",
  130. "typescript": "^4.4.4",
  131. "vite": "^2.6.14",
  132. "vite-plugin-compression": "^0.3.5",
  133. "vite-plugin-html": "^2.1.1",
  134. "vite-plugin-imagemin": "^0.4.6",
  135. "vite-plugin-mock": "^2.9.6",
  136. "vite-plugin-purge-icons": "^0.7.0",
  137. "vite-plugin-pwa": "^0.11.3",
  138. "vite-plugin-style-import": "^1.3.0",
  139. "vite-plugin-svg-icons": "^1.0.5",
  140. "vite-plugin-theme": "^0.8.1",
  141. "vite-plugin-vue-setup-extend": "^0.1.0",
  142. "vite-plugin-windicss": "^1.5.1",
  143. "vue-eslint-parser": "^8.0.1",
  144. "vue-tsc": "^0.29.3"
  145. },
  146. "resolutions": {
  147. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
  148. "bin-wrapper": "npm:bin-wrapper-china",
  149. "rollup": "^2.56.3"
  150. },
  151. "repository": {
  152. "type": "git",
  153. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  154. },
  155. "license": "MIT",
  156. "bugs": {
  157. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  158. },
  159. "homepage": "https://github.com/anncwb/vue-vben-admin",
  160. "engines": {
  161. "node": "^12 || >=14"
  162. }
  163. }