package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "name": "vben-admin",
  3. "version": "2.0.1",
  4. "scripts": {
  5. "serve": "vite",
  6. "dev": "vite",
  7. "build": "vite build && esno ./build/script/postBuild.ts",
  8. "build:no-cache": "yarn clean:cache && npm run build",
  9. "report": "cross-env REPORT=true npm run build ",
  10. "preview": "npm run build && vite preview",
  11. "preview:dist": "vite preview",
  12. "log": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
  13. "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
  14. "clean:lib": "npx rimraf node_modules",
  15. "lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
  16. "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
  17. "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
  18. "lint:ls-lint": "ls-lint",
  19. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  20. "lint:pretty": "pretty-quick --staged",
  21. "test:gzip": "http-server dist --cors --gzip -c-1",
  22. "test:br": "http-server dist --cors --brotli -c-1",
  23. "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
  24. "postinstall": "is-ci || husky install"
  25. },
  26. "dependencies": {
  27. "@iconify/iconify": "^2.0.0-rc.6",
  28. "@vueuse/core": "^4.2.2",
  29. "@zxcvbn-ts/core": "^0.2.0",
  30. "ant-design-vue": "2.0.0",
  31. "apexcharts": "^3.25.0",
  32. "axios": "^0.21.1",
  33. "crypto-es": "^1.2.7",
  34. "echarts": "^5.0.2",
  35. "lodash-es": "^4.17.21",
  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.6",
  43. "vue-i18n": "9.0.0-rc.7",
  44. "vue-router": "^4.0.4",
  45. "vue-types": "^3.0.2",
  46. "vuex": "^4.0.0",
  47. "vuex-module-decorators": "^1.0.1",
  48. "xlsx": "^0.16.9"
  49. },
  50. "devDependencies": {
  51. "@commitlint/cli": "^12.0.0",
  52. "@commitlint/config-conventional": "^12.0.0",
  53. "@iconify/json": "^1.1.307",
  54. "@ls-lint/ls-lint": "^1.9.2",
  55. "@purge-icons/generated": "^0.7.0",
  56. "@types/fs-extra": "^9.0.7",
  57. "@types/http-proxy": "^1.17.5",
  58. "@types/lodash-es": "^4.17.4",
  59. "@types/mockjs": "^1.0.3",
  60. "@types/nprogress": "^0.2.0",
  61. "@types/qrcode": "^1.4.0",
  62. "@types/qs": "^6.9.5",
  63. "@types/rollup-plugin-visualizer": "^2.6.0",
  64. "@types/sortablejs": "^1.10.6",
  65. "@types/yargs": "^16.0.0",
  66. "@typescript-eslint/eslint-plugin": "^4.15.2",
  67. "@typescript-eslint/parser": "^4.15.2",
  68. "@vitejs/plugin-legacy": "^1.3.1",
  69. "@vitejs/plugin-vue": "^1.1.4",
  70. "@vitejs/plugin-vue-jsx": "^1.1.2",
  71. "@vue/compiler-sfc": "^3.0.6",
  72. "autoprefixer": "^10.2.4",
  73. "commitizen": "^4.2.3",
  74. "conventional-changelog-cli": "^2.1.1",
  75. "cross-env": "^7.0.3",
  76. "dotenv": "^8.2.0",
  77. "eslint": "^7.20.0",
  78. "eslint-config-prettier": "^8.1.0",
  79. "eslint-plugin-prettier": "^3.3.1",
  80. "eslint-plugin-vue": "^7.6.0",
  81. "esno": "^0.4.4",
  82. "fs-extra": "^9.1.0",
  83. "http-server": "^0.12.3",
  84. "husky": "^5.1.1",
  85. "is-ci": "^3.0.0",
  86. "less": "^4.1.1",
  87. "lint-staged": "^10.5.4",
  88. "prettier": "^2.2.1",
  89. "pretty-quick": "^3.1.0",
  90. "rimraf": "^3.0.2",
  91. "rollup-plugin-visualizer": "^4.2.0",
  92. "stylelint": "^13.11.0",
  93. "stylelint-config-prettier": "^8.0.2",
  94. "stylelint-config-standard": "^20.0.0",
  95. "stylelint-order": "^4.1.0",
  96. "ts-node": "^9.1.1",
  97. "typescript": "4.1.5",
  98. "vite": "2.0.3",
  99. "vite-plugin-compression": "^0.2.2",
  100. "vite-plugin-html": "^2.0.2",
  101. "vite-plugin-imagemin": "^0.2.8",
  102. "vite-plugin-mock": "^2.1.5",
  103. "vite-plugin-purge-icons": "^0.7.0",
  104. "vite-plugin-pwa": "^0.5.3",
  105. "vite-plugin-style-import": "^0.7.5",
  106. "vite-plugin-theme": "^0.4.8",
  107. "vite-plugin-windicss": "0.5.0",
  108. "vue-eslint-parser": "^7.5.0",
  109. "yargs": "^16.2.0"
  110. },
  111. "resolutions": {
  112. "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it",
  113. "bin-wrapper": "npm:bin-wrapper-china",
  114. "ecstatic": "4.1.4"
  115. },
  116. "repository": {
  117. "type": "git",
  118. "url": "git+https://github.com/anncwb/vue-vben-admin.git"
  119. },
  120. "license": "MIT",
  121. "bugs": {
  122. "url": "https://github.com/anncwb/vue-vben-admin/issues"
  123. },
  124. "homepage": "https://github.com/anncwb/vue-vben-admin",
  125. "engines": {
  126. "node": "^12 || ^14 || ^15 || ^16"
  127. }
  128. }