package.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "name": "vben-admin",
  3. "version": "2.1.1",
  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": "cross-env --max_old_space_size=4096 vite",
  12. "dev": "cross-env --max_old_space_size=4096 vite",
  13. "build": "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. "preview": "npm run build && vite preview",
  17. "preview:dist": "vite preview",
  18. "log": "conventional-changelog -p angular -i CHANGELOG.md -s",
  19. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  20. "clean:lib": "rimraf node_modules",
  21. "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  22. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  23. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  24. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  25. "lint:pretty": "pretty-quick --staged",
  26. "test:gzip": "http-server dist --cors --gzip -c-1",
  27. "test:br": "http-server dist --cors --brotli -c-1",
  28. "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  29. "install:husky": "is-ci || husky install",
  30. "gen:icon": "esno ./build/generate/icon/index.ts",
  31. "postinstall": "npm run install:husky"
  32. },
  33. "dependencies": {
  34. "@iconify/iconify": "^2.0.0-rc.6",
  35. "@vueuse/core": "^4.6.3",
  36. "@zxcvbn-ts/core": "^0.3.0",
  37. "ant-design-vue": "^2.1.2",
  38. "apexcharts": "^3.26.0",
  39. "axios": "^0.21.1",
  40. "cropperjs": "^1.5.11",
  41. "crypto-js": "^4.0.0",
  42. "echarts": "^5.0.2",
  43. "lodash-es": "^4.17.21",
  44. "mockjs": "^1.1.0",
  45. "nprogress": "^0.2.0",
  46. "path-to-regexp": "^6.2.0",
  47. "print-js": "^1.6.0",
  48. "qrcode": "^1.4.4",
  49. "sortablejs": "^1.13.0",
  50. "tinymce": "^5.7.1",
  51. "vditor": "^3.8.4",
  52. "vue": "3.0.10",
  53. "vue-i18n": "^9.0.0",
  54. "vue-router": "^4.0.5",
  55. "vue-types": "^3.0.2",
  56. "vuex": "^4.0.0",
  57. "vuex-module-decorators": "^1.0.1",
  58. "xlsx": "^0.16.9"
  59. },
  60. "devDependencies": {
  61. "@commitlint/cli": "^12.0.1",
  62. "@commitlint/config-conventional": "^12.0.1",
  63. "@iconify/json": "^1.1.323",
  64. "@purge-icons/generated": "^0.7.0",
  65. "@types/crypto-js": "^4.0.1",
  66. "@types/fs-extra": "^9.0.9",
  67. "@types/inquirer": "^7.3.1",
  68. "@types/lodash-es": "^4.17.4",
  69. "@types/mockjs": "^1.0.3",
  70. "@types/nprogress": "^0.2.0",
  71. "@types/qrcode": "^1.4.0",
  72. "@types/qs": "^6.9.6",
  73. "@types/sortablejs": "^1.10.6",
  74. "@typescript-eslint/eslint-plugin": "^4.20.0",
  75. "@typescript-eslint/parser": "^4.20.0",
  76. "@vitejs/plugin-legacy": "^1.3.2",
  77. "@vitejs/plugin-vue": "^1.2.1",
  78. "@vitejs/plugin-vue-jsx": "^1.1.3",
  79. "@vue/compiler-sfc": "3.0.10",
  80. "autoprefixer": "^10.2.5",
  81. "commitizen": "^4.2.3",
  82. "conventional-changelog-cli": "^2.1.1",
  83. "cross-env": "^7.0.3",
  84. "dotenv": "^8.2.0",
  85. "eslint": "^7.23.0",
  86. "eslint-config-prettier": "^8.1.0",
  87. "eslint-define-config": "^1.0.6",
  88. "eslint-plugin-prettier": "^3.3.1",
  89. "eslint-plugin-vue": "^7.8.0",
  90. "esno": "^0.5.0",
  91. "fs-extra": "^9.1.0",
  92. "http-server": "^0.12.3",
  93. "husky": "^6.0.0",
  94. "inquirer": "^8.0.0",
  95. "is-ci": "^3.0.0",
  96. "less": "^4.1.1",
  97. "lint-staged": "^10.5.4",
  98. "postcss": "^8.2.9",
  99. "prettier": "^2.2.1",
  100. "pretty-quick": "^3.1.0",
  101. "rimraf": "^3.0.2",
  102. "rollup-plugin-visualizer": "5.0.4",
  103. "stylelint": "^13.12.0",
  104. "stylelint-config-prettier": "^8.0.2",
  105. "stylelint-config-standard": "^21.0.0",
  106. "stylelint-order": "^4.1.0",
  107. "ts-node": "^9.1.1",
  108. "typescript": "4.2.3",
  109. "vite": "2.1.5",
  110. "vite-plugin-compression": "^0.2.3",
  111. "vite-plugin-html": "^2.0.3",
  112. "vite-plugin-imagemin": "^0.2.9",
  113. "vite-plugin-mock": "^2.4.2",
  114. "vite-plugin-purge-icons": "^0.7.0",
  115. "vite-plugin-pwa": "^0.6.4",
  116. "vite-plugin-style-import": "^0.9.1",
  117. "vite-plugin-svg-icons": "^0.4.0",
  118. "vite-plugin-theme": "^0.5.0",
  119. "vite-plugin-windicss": "0.11.4",
  120. "vue-eslint-parser": "^7.6.0"
  121. },
  122. "resolutions": {
  123. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it",
  124. "bin-wrapper": "npm:bin-wrapper-china",
  125. "rollup": "^2.44.0"
  126. },
  127. "repository": {
  128. "type": "git",
  129. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  130. },
  131. "license": "MIT",
  132. "bugs": {
  133. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  134. },
  135. "homepage": "https://github.com/anncwb/vue-vben-admin",
  136. "engines": {
  137. "node": "^12 || >=14"
  138. }
  139. }