package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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": "npx --max_old_space_size=4096 vite",
  12. "dev": "npx --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.5.0",
  36. "@zxcvbn-ts/core": "^0.3.0",
  37. "ant-design-vue": "2.1.0",
  38. "apexcharts": "^3.26.0",
  39. "axios": "^0.21.1",
  40. "crypto-js": "^4.0.0",
  41. "echarts": "^5.0.2",
  42. "lodash-es": "^4.17.21",
  43. "mockjs": "^1.1.0",
  44. "nprogress": "^0.2.0",
  45. "path-to-regexp": "^6.2.0",
  46. "qrcode": "^1.4.4",
  47. "sortablejs": "^1.13.0",
  48. "vditor": "^3.8.3",
  49. "vue": "^3.0.7",
  50. "vue-i18n": "^9.0.0",
  51. "vue-router": "^4.0.5",
  52. "vue-types": "^3.0.2",
  53. "vuex": "^4.0.0",
  54. "vuex-module-decorators": "^1.0.1",
  55. "xlsx": "^0.16.9"
  56. },
  57. "devDependencies": {
  58. "@commitlint/cli": "^12.0.1",
  59. "@commitlint/config-conventional": "^12.0.1",
  60. "@iconify/json": "^1.1.322",
  61. "@purge-icons/generated": "^0.7.0",
  62. "@types/crypto-js": "^4.0.1",
  63. "@types/fs-extra": "^9.0.8",
  64. "@types/http-proxy": "^1.17.5",
  65. "@types/inquirer": "^7.3.1",
  66. "@types/lodash-es": "^4.17.4",
  67. "@types/mockjs": "^1.0.3",
  68. "@types/node": "^14.14.35",
  69. "@types/nprogress": "^0.2.0",
  70. "@types/qrcode": "^1.4.0",
  71. "@types/qs": "^6.9.6",
  72. "@types/rollup-plugin-visualizer": "^2.6.0",
  73. "@types/sortablejs": "^1.10.6",
  74. "@types/yargs": "^16.0.0",
  75. "@typescript-eslint/eslint-plugin": "^4.19.0",
  76. "@typescript-eslint/parser": "^4.19.0",
  77. "@vitejs/plugin-legacy": "^1.3.1",
  78. "@vitejs/plugin-vue": "^1.1.5",
  79. "@vitejs/plugin-vue-jsx": "^1.1.2",
  80. "@vue/compiler-sfc": "^3.0.7",
  81. "autoprefixer": "^10.2.5",
  82. "body-parser": "^1.19.0",
  83. "commitizen": "^4.2.3",
  84. "conventional-changelog-cli": "^2.1.1",
  85. "cross-env": "^7.0.3",
  86. "dotenv": "^8.2.0",
  87. "eslint": "^7.22.0",
  88. "eslint-config-prettier": "^8.1.0",
  89. "eslint-plugin-prettier": "^3.3.1",
  90. "eslint-plugin-vue": "^7.8.0",
  91. "esno": "^0.5.0",
  92. "fs-extra": "^9.1.0",
  93. "http-server": "^0.12.3",
  94. "husky": "^5.2.0",
  95. "inquirer": "^8.0.0",
  96. "is-ci": "^3.0.0",
  97. "less": "^4.1.1",
  98. "lint-staged": "^10.5.4",
  99. "madge": "^4.0.2",
  100. "postcss": "^8.2.8",
  101. "prettier": "^2.2.1",
  102. "pretty-quick": "^3.1.0",
  103. "rimraf": "^3.0.2",
  104. "rollup-plugin-visualizer": "4.2.2",
  105. "stylelint": "^13.12.0",
  106. "stylelint-config-prettier": "^8.0.2",
  107. "stylelint-config-standard": "^21.0.0",
  108. "stylelint-order": "^4.1.0",
  109. "ts-node": "^9.1.1",
  110. "typescript": "4.2.3",
  111. "vite": "2.1.3",
  112. "vite-plugin-compression": "^0.2.3",
  113. "vite-plugin-html": "^2.0.3",
  114. "vite-plugin-imagemin": "^0.2.9",
  115. "vite-plugin-mock": "^2.4.0",
  116. "vite-plugin-purge-icons": "^0.7.0",
  117. "vite-plugin-pwa": "^0.6.2",
  118. "vite-plugin-style-import": "^0.8.3",
  119. "vite-plugin-svg-icons": "^0.4.0",
  120. "vite-plugin-theme": "^0.5.0",
  121. "vite-plugin-windicss": "0.9.11",
  122. "vue-eslint-parser": "^7.6.0",
  123. "yargs": "^16.2.0"
  124. },
  125. "resolutions": {
  126. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it",
  127. "bin-wrapper": "npm:bin-wrapper-china"
  128. },
  129. "repository": {
  130. "type": "git",
  131. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  132. },
  133. "license": "MIT",
  134. "bugs": {
  135. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  136. },
  137. "homepage": "https://github.com/anncwb/vue-vben-admin",
  138. "engines": {
  139. "node": "^12 || >=14"
  140. }
  141. }