package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "gui-web",
  3. "description": "Gui Web",
  4. "version": "1.0.0",
  5. "type": "module",
  6. "private": true,
  7. "author": "kun",
  8. "license": "MIT",
  9. "scripts": {
  10. "dev": "vite --config ./config/vite.config.dev.ts",
  11. "build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts",
  12. "report": "cross-env REPORT=true npm run build",
  13. "preview": "npm run build && vite preview --host",
  14. "type:check": "vue-tsc --noEmit --skipLibCheck",
  15. "lint-staged": "npx lint-staged",
  16. "prepare": "husky install",
  17. "remove": "rm -rf node_modules pnpm-lock.yaml"
  18. },
  19. "lint-staged": {
  20. "*.{js,ts,jsx,tsx}": [
  21. "prettier --write",
  22. "eslint --fix"
  23. ],
  24. "*.vue": [
  25. "stylelint --fix",
  26. "prettier --write",
  27. "eslint --fix"
  28. ],
  29. "*.{less,css}": [
  30. "stylelint --fix",
  31. "prettier --write"
  32. ]
  33. },
  34. "dependencies": {
  35. "@arco-design/web-vue": ">=2.57.0",
  36. "@vueuse/core": "^13.9.0",
  37. "axios": "^1.12.2",
  38. "dayjs": "^1.11.18",
  39. "lodash": "^4.17.21",
  40. "mitt": "^3.0.1",
  41. "nprogress": "^0.2.0",
  42. "pinia": "^3.0.3",
  43. "query-string": "^9.3.1",
  44. "sortablejs": "^1.15.6",
  45. "vue": "^3.5.22",
  46. "vue-i18n": "^11.1.12",
  47. "vue-router": "^4.5.1"
  48. },
  49. "devDependencies": {
  50. "@arco-design/web-vue": "^2.57.0",
  51. "@arco-plugins/vite-vue": "^1.4.6",
  52. "@commitlint/cli": "^20.0.0",
  53. "@commitlint/config-conventional": "^20.0.0",
  54. "@eslint/js": "^9.36.0",
  55. "@types/lodash": "^4.17.20",
  56. "@types/minimatch": "^6.0.0",
  57. "@types/mockjs": "^1.0.7",
  58. "@types/nprogress": "^0.2.3",
  59. "@types/sortablejs": "^1.15.8",
  60. "@typescript-eslint/eslint-plugin": "^8.45.0",
  61. "@typescript-eslint/parser": "^8.45.0",
  62. "@vitejs/plugin-vue": "^6.0.1",
  63. "@vitejs/plugin-vue-jsx": "5.1.1",
  64. "@vue/babel-plugin-jsx": "^1.5.0",
  65. "consola": "^3.4.2",
  66. "cross-env": "^10.1.0",
  67. "eslint": "^9.36.0",
  68. "eslint-config-airbnb-base": "^15.0.0",
  69. "eslint-config-prettier": "^10.1.8",
  70. "eslint-import-resolver-typescript": "^4.4.4",
  71. "eslint-plugin-import": "^2.32.0",
  72. "eslint-plugin-prettier": "^5.5.4",
  73. "eslint-plugin-vue": "^10.5.0",
  74. "globals": "^16.4.0",
  75. "husky": "^9.1.7",
  76. "jiti": "^2.6.0",
  77. "less": "^4.4.1",
  78. "lint-staged": "^16.2.3",
  79. "minimatch": "10.0.3",
  80. "mockjs": "^1.1.0",
  81. "postcss": "8.4.47",
  82. "postcss-html": "1.8.0",
  83. "prettier": "^3.6.1",
  84. "rollup": "^4.52.3",
  85. "rollup-plugin-visualizer": "^6.0.3",
  86. "stylelint": "^16.24.0",
  87. "stylelint-config-rational-order": "^0.1.2",
  88. "stylelint-config-recommended-vue": "^1.6.1",
  89. "stylelint-config-standard": "^39.0.0",
  90. "stylelint-order": "^7.0.0",
  91. "typescript": "^5.9.2",
  92. "typescript-eslint": "^8.45.0",
  93. "unplugin-vue-components": "^29.1.0",
  94. "vite": "^7.1.7",
  95. "vite-plugin-compression": "^0.5.1",
  96. "vite-plugin-imagemin": "^0.6.1",
  97. "vite-svg-loader": "^5.1.0",
  98. "vue-tsc": "^3.1.0"
  99. },
  100. "engines": {
  101. "node": ">=22.20.0"
  102. },
  103. "resolutions": {
  104. "bin-wrapper": "npm:bin-wrapper-china",
  105. "rollup": "^4.48.1",
  106. "gifsicle": "5.2.0"
  107. },
  108. "peerDependencies": {
  109. "@arco-design/web-vue": ">=2.57.0"
  110. }
  111. }