package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "name": "vben-admin",
  3. "version": "2.0.0-rc.18",
  4. "scripts": {
  5. "bootstrap": "yarn install",
  6. "serve": "vite",
  7. "dev": "vite",
  8. "build": "vite build && esno ./build/script/postBuild.ts",
  9. "build:no-cache": "yarn clean:cache && npm run build",
  10. "report": "cross-env REPORT=true npm run build ",
  11. "preview": "npm run build && vite preview",
  12. "preview:dist": "vite preview",
  13. "log": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
  14. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  15. "clean:lib": "npx rimraf node_modules",
  16. "typecheck": "vuedx-typecheck .",
  17. "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  18. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  19. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  20. "lint:ls-lint": "ls-lint",
  21. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  22. "test:gzip": "http-server dist --cors --gzip -c-1",
  23. "test:br": "http-server dist --cors --brotli -c-1",
  24. "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  25. "postinstall": "is-ci || husky install"
  26. },
  27. "dependencies": {
  28. "@iconify/iconify": "^2.0.0-rc.6",
  29. "@vueuse/core": "^4.1.0",
  30. "ant-design-vue": "2.0.0",
  31. "apexcharts": "^3.24.0",
  32. "axios": "^0.21.1",
  33. "crypto-es": "^1.2.7",
  34. "echarts": "^4.9.0",
  35. "lodash-es": "^4.17.20",
  36. "mockjs": "^1.1.0",
  37. "nprogress": "^0.2.0",
  38. "path-to-regexp": "^6.2.0",
  39. "qrcode": "^1.4.4",
  40. "sortablejs": "^1.13.0",
  41. "vditor": "^3.8.1",
  42. "vue": "^3.0.5",
  43. "vue-i18n": "9.0.0-rc.2",
  44. "vue-router": "^4.0.3",
  45. "vue-types": "^3.0.2",
  46. "vuex": "^4.0.0",
  47. "vuex-module-decorators": "^1.0.1",
  48. "xlsx": "^0.16.9",
  49. "zxcvbn": "^4.4.2"
  50. },
  51. "devDependencies": {
  52. "@commitlint/cli": "^11.0.0",
  53. "@commitlint/config-conventional": "^11.0.0",
  54. "@iconify/json": "^1.1.299",
  55. "@ls-lint/ls-lint": "^1.9.2",
  56. "@purge-icons/generated": "^0.6.0",
  57. "@types/echarts": "^4.9.3",
  58. "@types/fs-extra": "^9.0.7",
  59. "@types/http-proxy": "^1.17.5",
  60. "@types/koa-static": "^4.0.1",
  61. "@types/lodash-es": "^4.17.4",
  62. "@types/mockjs": "^1.0.3",
  63. "@types/nprogress": "^0.2.0",
  64. "@types/qrcode": "^1.4.0",
  65. "@types/rollup-plugin-visualizer": "^2.6.0",
  66. "@types/sortablejs": "^1.10.6",
  67. "@types/yargs": "^16.0.0",
  68. "@types/zxcvbn": "^4.4.0",
  69. "@typescript-eslint/eslint-plugin": "^4.15.0",
  70. "@typescript-eslint/parser": "^4.15.0",
  71. "@vitejs/plugin-legacy": "^1.3.0",
  72. "@vitejs/plugin-vue": "^1.1.4",
  73. "@vitejs/plugin-vue-jsx": "^1.1.0",
  74. "@vue/compiler-sfc": "^3.0.5",
  75. "@vuedx/typecheck": "^0.6.3",
  76. "@vuedx/typescript-plugin-vue": "^0.6.3",
  77. "autoprefixer": "^10.2.4",
  78. "commitizen": "^4.2.3",
  79. "conventional-changelog-cli": "^2.1.1",
  80. "cross-env": "^7.0.3",
  81. "dotenv": "^8.2.0",
  82. "eslint": "^7.19.0",
  83. "eslint-config-prettier": "^7.2.0",
  84. "eslint-plugin-prettier": "^3.3.1",
  85. "eslint-plugin-vue": "^7.5.0",
  86. "esno": "^0.4.3",
  87. "fs-extra": "^9.1.0",
  88. "http-server": "^0.12.3",
  89. "husky": "^5.0.9",
  90. "is-ci": "^2.0.0",
  91. "less": "^4.1.1",
  92. "lint-staged": "^10.5.4",
  93. "prettier": "^2.2.1",
  94. "rimraf": "^3.0.2",
  95. "rollup-plugin-visualizer": "^4.2.0",
  96. "stylelint": "^13.10.0",
  97. "stylelint-config-prettier": "^8.0.2",
  98. "stylelint-config-standard": "^20.0.0",
  99. "stylelint-order": "^4.1.0",
  100. "ts-node": "^9.1.1",
  101. "typescript": "^4.1.5",
  102. "vite": "2.0.0-beta.69",
  103. "vite-plugin-compression": "^0.2.1",
  104. "vite-plugin-html": "^2.0.0",
  105. "vite-plugin-imagemin": "^0.2.6",
  106. "vite-plugin-mock": "^2.1.4",
  107. "vite-plugin-purge-icons": "^0.6.0",
  108. "vite-plugin-pwa": "^0.4.6",
  109. "vite-plugin-style-import": "^0.7.2",
  110. "vite-plugin-theme": "^0.4.3",
  111. "vue-eslint-parser": "^7.4.1",
  112. "yargs": "^16.2.0"
  113. },
  114. "resolutions": {
  115. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it",
  116. "bin-wrapper": "npm:bin-wrapper-china"
  117. },
  118. "repository": {
  119. "type": "git",
  120. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  121. },
  122. "license": "MIT",
  123. "bugs": {
  124. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  125. },
  126. "homepage": "https://github.com/anncwb/vue-vben-admin",
  127. "engines": {
  128. "node": "^12 || ^14 || ^15 || ^16"
  129. }
  130. }