package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "name": "site-web",
  3. "description": "Arco Design Pro for Vue",
  4. "version": "1.0.0",
  5. "private": true,
  6. "author": "kun",
  7. "license": "MIT",
  8. "scripts": {
  9. "dev": "vite --config ./config/vite.config.dev.ts",
  10. "build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts",
  11. "report": "cross-env REPORT=true npm run build",
  12. "preview": "npm run build && vite preview --host",
  13. "type:check": "vue-tsc --noEmit --skipLibCheck",
  14. "lint-staged": "npx lint-staged",
  15. "prepare": "husky install"
  16. },
  17. "lint-staged": {
  18. "*.{js,ts,jsx,tsx}": [
  19. "prettier --write",
  20. "eslint --fix"
  21. ],
  22. "*.vue": [
  23. "stylelint --fix",
  24. "prettier --write",
  25. "eslint --fix"
  26. ],
  27. "*.{less,css}": [
  28. "stylelint --fix",
  29. "prettier --write"
  30. ]
  31. },
  32. "dependencies": {
  33. "@arco-design/web-vue": ">=2.0.0-beta.7",
  34. "@vueuse/core": "^13.7.0",
  35. "axios": "^1.11.0",
  36. "dayjs": "^1.11.5",
  37. "lodash": "^4.17.21",
  38. "mitt": "^3.0.0",
  39. "nprogress": "^0.2.0",
  40. "pinia": "^3.0.3",
  41. "query-string": "^8.0.3",
  42. "sortablejs": "^1.15.6",
  43. "vue": "^3.5.20",
  44. "vue-i18n": "^11.1.11",
  45. "vue-router": "^4.5.1"
  46. },
  47. "devDependencies": {
  48. "@arco-design/web-vue": "^2.0.0-beta.7",
  49. "@arco-plugins/vite-vue": "^1.4.5",
  50. "@commitlint/cli": "^17.1.2",
  51. "@commitlint/config-conventional": "^17.1.0",
  52. "@eslint/js": "^9.34.0",
  53. "@types/lodash": "^4.14.186",
  54. "@types/minimatch": "^6.0.0",
  55. "@types/mockjs": "^1.0.7",
  56. "@types/nprogress": "^0.2.3",
  57. "@types/sortablejs": "^1.15.8",
  58. "@typescript-eslint/eslint-plugin": "^8.41.0",
  59. "@typescript-eslint/parser": "^8.41.0",
  60. "@vitejs/plugin-vue": "^5.0.0",
  61. "@vitejs/plugin-vue-jsx": "^4.0.0",
  62. "@vue/babel-plugin-jsx": "^1.1.1",
  63. "consola": "^3.4.2",
  64. "cross-env": "^7.0.3",
  65. "eslint": "^9.34.0",
  66. "eslint-config-airbnb-base": "^15.0.0",
  67. "eslint-config-prettier": "^10.1.8",
  68. "eslint-import-resolver-typescript": "^4.4.4",
  69. "eslint-plugin-import": "^2.32.0",
  70. "eslint-plugin-prettier": "^5.5.4",
  71. "eslint-plugin-vue": "^10.4.0",
  72. "globals": "^16.3.0",
  73. "husky": "^8.0.1",
  74. "jiti": "^2.5.1",
  75. "less": "^4.4.1",
  76. "lint-staged": "^13.3.0",
  77. "minimatch": "^3.1.2",
  78. "mockjs": "^1.1.0",
  79. "postcss": "8.4.47",
  80. "postcss-html": "1.7.0",
  81. "prettier": "^2.7.1",
  82. "rollup": "^4.48.1",
  83. "rollup-plugin-visualizer": "^6.0.3",
  84. "stylelint": "^16.17.0",
  85. "stylelint-config-rational-order": "^0.1.2",
  86. "stylelint-config-recommended-vue": "^1.5.0",
  87. "stylelint-config-standard": "^37.0.0",
  88. "stylelint-order": "^6.0.4",
  89. "typescript": "^5.9.2",
  90. "typescript-eslint": "^8.41.0",
  91. "unplugin-vue-components": "^0.27.0",
  92. "vite": "^6.2.0",
  93. "vite-plugin-compression": "^0.5.1",
  94. "vite-plugin-imagemin": "^0.6.1",
  95. "vite-svg-loader": "^3.6.0",
  96. "vue-tsc": "^2.0.0"
  97. },
  98. "engines": {
  99. "node": ">=18.0.0"
  100. },
  101. "resolutions": {
  102. "bin-wrapper": "npm:bin-wrapper-china",
  103. "rollup": "^4.48.1",
  104. "gifsicle": "5.2.0"
  105. },
  106. "peerDependencies": {
  107. "@arco-design/web-vue": ">=2.0.0-beta.7"
  108. }
  109. }