package.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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",
  27. "test:unit": "jest",
  28. "test:gzip": "npx http-server dist --cors --gzip -c-1",
  29. "test:br": "npx http-server dist --cors --brotli -c-1",
  30. "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  31. "prepare": "",
  32. "gen:icon": "esno ./build/generate/icon/index.ts"
  33. },
  34. "dependencies": {
  35. "@ant-design/colors": "^6.0.0",
  36. "@ant-design/icons-vue": "^6.1.0",
  37. "@iconify/iconify": "^2.2.1",
  38. "@logicflow/core": "^1.1.20",
  39. "@logicflow/extension": "^1.1.20",
  40. "@vue/runtime-core": "^3.2.37",
  41. "@vue/shared": "^3.2.37",
  42. "@vueuse/core": "^8.6.0",
  43. "@vueuse/shared": "^8.6.0",
  44. "@zxcvbn-ts/core": "^2.0.1",
  45. "ace-builds": "^1.6.0",
  46. "animate.css": "^4.1.1",
  47. "ant-design-vue": "^3.2.7",
  48. "axios": "^0.26.1",
  49. "cropperjs": "^1.5.12",
  50. "crypto-js": "^4.1.1",
  51. "dayjs": "^1.11.3",
  52. "dexie": "^3.2.2",
  53. "echarts": "^5.3.3",
  54. "intro.js": "^5.1.0",
  55. "lodash-es": "^4.17.21",
  56. "mockjs": "^1.1.0",
  57. "nprogress": "^0.2.0",
  58. "path-to-regexp": "^6.2.1",
  59. "pinia": "2.0.12",
  60. "print-js": "^1.6.0",
  61. "qrcode": "^1.5.0",
  62. "qs": "^6.10.5",
  63. "resize-observer-polyfill": "^1.5.1",
  64. "showdown": "^2.1.0",
  65. "sortablejs": "^1.15.0",
  66. "tinymce": "^5.10.5",
  67. "vditor": "^3.8.15",
  68. "vue": "^3.2.37",
  69. "vue-i18n": "^9.1.10",
  70. "vue-json-pretty": "^2.1.0",
  71. "vue-router": "^4.0.16",
  72. "vue-types": "^4.1.1",
  73. "vue-ueditor-wrap": "3.x",
  74. "vue3-ace-editor": "^2.2.2",
  75. "vueditor3": "^1.0.6",
  76. "vuedraggable": "^4.1.0",
  77. "xlsx": "^0.18.5"
  78. },
  79. "devDependencies": {
  80. "@commitlint/cli": "^16.3.0",
  81. "@commitlint/config-conventional": "^16.2.4",
  82. "@iconify/json": "^2.1.61",
  83. "@purge-icons/generated": "^0.8.1",
  84. "@types/codemirror": "^5.60.5",
  85. "@types/crypto-js": "^4.1.1",
  86. "@types/fs-extra": "^9.0.13",
  87. "@types/inquirer": "^8.2.1",
  88. "@types/intro.js": "^3.0.2",
  89. "@types/lodash-es": "^4.17.6",
  90. "@types/mockjs": "^1.0.6",
  91. "@types/node": "^17.0.43",
  92. "@types/nprogress": "^0.2.0",
  93. "@types/qrcode": "^1.4.2",
  94. "@types/qs": "^6.9.7",
  95. "@types/showdown": "^1.9.4",
  96. "@types/sortablejs": "^1.13.0",
  97. "@typescript-eslint/eslint-plugin": "^5.28.0",
  98. "@typescript-eslint/parser": "^5.28.0",
  99. "@vitejs/plugin-legacy": "^1.8.2",
  100. "@vitejs/plugin-vue": "^2.3.3",
  101. "@vitejs/plugin-vue-jsx": "^1.3.10",
  102. "@vue/compiler-sfc": "^3.2.37",
  103. "@vue/test-utils": "^2.0.1",
  104. "autoprefixer": "^10.4.7",
  105. "commitizen": "^4.2.4",
  106. "conventional-changelog-cli": "^2.2.2",
  107. "cross-env": "^7.0.3",
  108. "dotenv": "^16.0.1",
  109. "eslint": "^8.17.0",
  110. "eslint-config-prettier": "^8.5.0",
  111. "eslint-plugin-prettier": "^4.0.0",
  112. "eslint-plugin-vue": "^8.7.1",
  113. "esno": "^0.14.1",
  114. "fs-extra": "^10.1.0",
  115. "husky": "^7.0.4",
  116. "inquirer": "^8.2.4",
  117. "less": "^4.1.3",
  118. "lint-staged": "12.3.7",
  119. "npm-run-all": "^4.1.5",
  120. "picocolors": "^1.0.0",
  121. "postcss": "^8.4.14",
  122. "postcss-html": "^1.4.1",
  123. "postcss-less": "^6.0.0",
  124. "prettier": "^2.7.0",
  125. "rimraf": "^3.0.2",
  126. "rollup": "^2.75.6",
  127. "rollup-plugin-visualizer": "^5.6.0",
  128. "stylelint": "^14.9.1",
  129. "stylelint-config-prettier": "^9.0.3",
  130. "stylelint-config-recommended": "^7.0.0",
  131. "stylelint-config-recommended-vue": "^1.4.0",
  132. "stylelint-config-standard": "^25.0.0",
  133. "stylelint-order": "^5.0.0",
  134. "ts-node": "^10.8.1",
  135. "typescript": "^4.7.3",
  136. "vite": "^2.9.12",
  137. "vite-plugin-compression": "^0.5.1",
  138. "vite-plugin-html": "^3.2.0",
  139. "vite-plugin-imagemin": "^0.6.1",
  140. "vite-plugin-mkcert": "1.7.2",
  141. "vite-plugin-mock": "^2.9.6",
  142. "vite-plugin-purge-icons": "^0.8.1",
  143. "vite-plugin-pwa": "^0.11.13",
  144. "vite-plugin-style-import": "^2.0.0",
  145. "vite-plugin-svg-icons": "^2.0.1",
  146. "vite-plugin-theme": "^0.8.6",
  147. "vite-plugin-vue-setup-extend": "^0.4.0",
  148. "vite-plugin-windicss": "^1.8.4",
  149. "vue-eslint-parser": "^8.3.0",
  150. "vue-tsc": "^0.33.9"
  151. },
  152. "resolutions": {
  153. "bin-wrapper": "npm:bin-wrapper-china",
  154. "rollup": "^2.56.3",
  155. "gifsicle": "5.2.0"
  156. },
  157. "repository": {
  158. "type": "git",
  159. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  160. },
  161. "license": "MIT",
  162. "bugs": {
  163. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  164. },
  165. "homepage": "https://github.com/anncwb/vue-vben-admin",
  166. "engines": {
  167. "node": "^12 || >=14"
  168. },
  169. "lint-staged": {
  170. "*.{js,jsx,ts,tsx}": [
  171. "eslint --fix",
  172. "prettier --write"
  173. ],
  174. "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
  175. "prettier --write--parser json"
  176. ],
  177. "package.json": [
  178. "prettier --write"
  179. ],
  180. "*.vue": [
  181. "eslint --fix",
  182. "prettier --write",
  183. "stylelint --fix"
  184. ],
  185. "*.{scss,less,styl,html}": [
  186. "stylelint --fix",
  187. "prettier --write"
  188. ],
  189. "*.md": [
  190. "prettier --write"
  191. ]
  192. }
  193. }