package.json 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. {
  2. "name": "vben-admin",
  3. "version": "2.6.0",
  4. "author": {
  5. "name": "vben",
  6. "email": "anncwb@126.com",
  7. "url": "https://github.com/anncwb"
  8. },
  9. "scripts": {
  10. "bootstrap": "yarn 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:no-cache": "yarn clean:cache && npm run build",
  15. "report": "cross-env REPORT=true npm run build",
  16. "type:check": "vue-tsc --noEmit --skipLibCheck",
  17. "preview": "npm run build && vite preview",
  18. "preview:dist": "vite preview",
  19. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  20. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  21. "clean:lib": "rimraf node_modules",
  22. "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  23. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  24. "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  25. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  26. "lint:pretty": "pretty-quick --staged",
  27. "test:unit": "jest",
  28. "test:unit-coverage": "jest --coverage",
  29. "test:gzip": "http-server dist --cors --gzip -c-1",
  30. "test:br": "http-server dist --cors --brotli -c-1",
  31. "reinstall": "rimraf yarn.lock && 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. "@iconify/iconify": "^2.0.3",
  37. "@logicflow/core": "^0.5.0",
  38. "@logicflow/extension": "^0.5.0",
  39. "@vueuse/core": "^5.0.3",
  40. "@zxcvbn-ts/core": "^1.0.0-beta.0",
  41. "ant-design-vue": "2.2.0-rc.1",
  42. "axios": "^0.21.1",
  43. "codemirror": "^5.62.0",
  44. "cropperjs": "^1.5.12",
  45. "crypto-js": "^4.0.0",
  46. "echarts": "^5.1.2",
  47. "intro.js": "^4.1.0",
  48. "lodash-es": "^4.17.21",
  49. "mockjs": "^1.1.0",
  50. "nprogress": "^0.2.0",
  51. "path-to-regexp": "^6.2.0",
  52. "pinia": "^2.0.0-beta.3",
  53. "print-js": "^1.6.0",
  54. "qrcode": "^1.4.4",
  55. "resize-observer-polyfill": "^1.5.1",
  56. "sortablejs": "^1.13.0",
  57. "tinymce": "^5.8.2",
  58. "vditor": "^3.8.5",
  59. "vue": "3.1.4",
  60. "vue-i18n": "9.1.6",
  61. "vue-json-pretty": "^2.0.2",
  62. "vue-router": "^4.0.10",
  63. "vue-types": "^4.0.0",
  64. "xlsx": "^0.17.0"
  65. },
  66. "devDependencies": {
  67. "@commitlint/cli": "^12.1.4",
  68. "@commitlint/config-conventional": "^12.1.4",
  69. "@iconify/json": "^1.1.369",
  70. "@purge-icons/generated": "^0.7.0",
  71. "@types/codemirror": "^5.60.1",
  72. "@types/crypto-js": "^4.0.1",
  73. "@types/fs-extra": "^9.0.11",
  74. "@types/inquirer": "^7.3.2",
  75. "@types/intro.js": "^3.0.1",
  76. "@types/jest": "^26.0.23",
  77. "@types/lodash-es": "^4.17.4",
  78. "@types/mockjs": "^1.0.3",
  79. "@types/node": "^16.0.0",
  80. "@types/nprogress": "^0.2.0",
  81. "@types/qrcode": "^1.4.0",
  82. "@types/qs": "^6.9.6",
  83. "@types/sortablejs": "^1.10.6",
  84. "@typescript-eslint/eslint-plugin": "^4.28.1",
  85. "@typescript-eslint/parser": "^4.28.1",
  86. "@vitejs/plugin-legacy": "^1.4.3",
  87. "@vitejs/plugin-vue": "^1.2.4",
  88. "@vitejs/plugin-vue-jsx": "^1.1.6",
  89. "@vue/compiler-sfc": "3.1.4",
  90. "@vue/test-utils": "^2.0.0-rc.9",
  91. "autoprefixer": "^10.2.6",
  92. "commitizen": "^4.2.4",
  93. "conventional-changelog-cli": "^2.1.1",
  94. "cross-env": "^7.0.3",
  95. "dotenv": "^10.0.0",
  96. "eslint": "^7.30.0",
  97. "eslint-config-prettier": "^8.3.0",
  98. "eslint-define-config": "^1.0.9",
  99. "eslint-plugin-jest": "^24.3.6",
  100. "eslint-plugin-prettier": "^3.4.0",
  101. "eslint-plugin-vue": "^7.12.1",
  102. "esno": "^0.7.3",
  103. "fs-extra": "^10.0.0",
  104. "http-server": "^0.12.3",
  105. "husky": "^7.0.0",
  106. "inquirer": "^8.1.1",
  107. "is-ci": "^3.0.0",
  108. "jest": "^27.0.6",
  109. "less": "^4.1.1",
  110. "lint-staged": "^11.0.0",
  111. "npm-run-all": "^4.1.5",
  112. "postcss": "^8.3.5",
  113. "prettier": "^2.3.2",
  114. "pretty-quick": "^3.1.1",
  115. "rimraf": "^3.0.2",
  116. "rollup-plugin-visualizer": "5.5.1",
  117. "stylelint": "^13.13.1",
  118. "stylelint-config-prettier": "^8.0.2",
  119. "stylelint-config-standard": "^22.0.0",
  120. "stylelint-order": "^4.1.0",
  121. "tailwindcss": "^2.2.4",
  122. "ts-jest": "^27.0.3",
  123. "ts-node": "^10.0.0",
  124. "typescript": "4.3.5",
  125. "vite": "2.4.0-beta.2",
  126. "vite-plugin-compression": "^0.2.5",
  127. "vite-plugin-html": "^2.0.7",
  128. "vite-plugin-imagemin": "^0.3.2",
  129. "vite-plugin-mock": "^2.8.0",
  130. "vite-plugin-purge-icons": "^0.7.0",
  131. "vite-plugin-pwa": "^0.8.1",
  132. "vite-plugin-style-import": "^1.0.1",
  133. "vite-plugin-svg-icons": "^1.0.0",
  134. "vite-plugin-theme": "^0.8.1",
  135. "vue-eslint-parser": "^7.7.2",
  136. "vue-tsc": "^0.2.0"
  137. },
  138. "resolutions": {
  139. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
  140. "bin-wrapper": "npm:bin-wrapper-china",
  141. "rollup": "^2.52.7"
  142. },
  143. "repository": {
  144. "type": "git",
  145. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  146. },
  147. "license": "MIT",
  148. "bugs": {
  149. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  150. },
  151. "homepage": "https://github.com/anncwb/vue-vben-admin",
  152. "engines": {
  153. "node": "^12 || >=14"
  154. }
  155. }