package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name": "art-design-pro",
  3. "version": "0.0.0",
  4. "type": "module",
  5. "engines": {
  6. "node": ">=20.19.0",
  7. "pnpm": ">=8.8.0"
  8. },
  9. "scripts": {
  10. "dev": "vite --open",
  11. "build": "vue-tsc --noEmit && vite build",
  12. "serve": "vite preview",
  13. "lint": "eslint",
  14. "fix": "eslint --fix",
  15. "lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,tsx,css,less,scss,vue,html,md}\"",
  16. "lint:stylelint": "stylelint \"**/*.{css,scss,vue}\" --fix",
  17. "lint:lint-staged": "lint-staged",
  18. "prepare": "husky",
  19. "commit": "git-cz",
  20. "clean:dev": "tsx scripts/clean-dev.ts"
  21. },
  22. "config": {
  23. "commitizen": {
  24. "path": "node_modules/cz-git"
  25. }
  26. },
  27. "lint-staged": {
  28. "*.{js,ts,mjs,mts,tsx}": [
  29. "eslint --fix",
  30. "prettier --write"
  31. ],
  32. "*.{cjs,json,jsonc}": [
  33. "prettier --write"
  34. ],
  35. "*.vue": [
  36. "eslint --fix",
  37. "stylelint --fix --allow-empty-input",
  38. "prettier --write"
  39. ],
  40. "*.{html,htm}": [
  41. "prettier --write"
  42. ],
  43. "*.{scss,css,less}": [
  44. "stylelint --fix --allow-empty-input",
  45. "prettier --write"
  46. ],
  47. "*.{md,mdx}": [
  48. "prettier --write"
  49. ],
  50. "*.{yaml,yml}": [
  51. "prettier --write"
  52. ]
  53. },
  54. "dependencies": {
  55. "@element-plus/icons-vue": "^2.3.2",
  56. "@iconify/vue": "^5.0.0",
  57. "@tailwindcss/vite": "^4.1.14",
  58. "@vue/reactivity": "^3.5.21",
  59. "@vueuse/core": "^13.9.0",
  60. "@wangeditor/editor": "^5.1.23",
  61. "@wangeditor/editor-for-vue": "next",
  62. "axios": "^1.12.2",
  63. "crypto-js": "^4.2.0",
  64. "echarts": "^6.0.0",
  65. "element-plus": "^2.11.2",
  66. "file-saver": "^2.0.5",
  67. "highlight.js": "^11.10.0",
  68. "mitt": "^3.0.1",
  69. "nprogress": "^0.2.0",
  70. "ohash": "^2.0.11",
  71. "pinia": "^3.0.3",
  72. "pinia-plugin-persistedstate": "^4.3.0",
  73. "qrcode.vue": "^3.6.0",
  74. "tailwindcss": "^4.1.14",
  75. "vue": "^3.5.21",
  76. "vue-draggable-plus": "^0.6.0",
  77. "vue-i18n": "^9.14.0",
  78. "vue-router": "^4.5.1",
  79. "xgplayer": "^3.0.20",
  80. "xlsx": "^0.18.5"
  81. },
  82. "devDependencies": {
  83. "@commitlint/cli": "^19.4.1",
  84. "@commitlint/config-conventional": "^19.4.1",
  85. "@eslint/js": "^9.9.1",
  86. "@types/node": "^24.0.5",
  87. "@typescript-eslint/eslint-plugin": "^8.3.0",
  88. "@typescript-eslint/parser": "^8.3.0",
  89. "@vitejs/plugin-vue": "^6.0.1",
  90. "@vue/compiler-sfc": "^3.0.5",
  91. "commitizen": "^4.3.0",
  92. "cz-git": "^1.11.1",
  93. "eslint": "^9.9.1",
  94. "eslint-config-prettier": "^9.1.0",
  95. "eslint-plugin-prettier": "^5.2.1",
  96. "eslint-plugin-vue": "^9.27.0",
  97. "globals": "^15.9.0",
  98. "husky": "^9.1.5",
  99. "lint-staged": "^15.5.2",
  100. "prettier": "^3.5.3",
  101. "rollup-plugin-visualizer": "^5.12.0",
  102. "sass": "^1.81.0",
  103. "stylelint": "^16.20.0",
  104. "stylelint-config-html": "^1.1.0",
  105. "stylelint-config-recess-order": "^4.6.0",
  106. "stylelint-config-recommended-scss": "^14.1.0",
  107. "stylelint-config-recommended-vue": "^1.5.0",
  108. "stylelint-config-standard": "^36.0.1",
  109. "terser": "^5.36.0",
  110. "tsx": "^4.20.3",
  111. "typescript": "~5.6.3",
  112. "typescript-eslint": "^8.9.0",
  113. "unplugin-auto-import": "^20.2.0",
  114. "unplugin-element-plus": "^0.10.0",
  115. "unplugin-vue-components": "^29.1.0",
  116. "vite": "^7.1.5",
  117. "vite-plugin-compression": "^0.5.1",
  118. "vite-plugin-vue-devtools": "^7.7.6",
  119. "vue-demi": "^0.14.9",
  120. "vue-img-cutter": "^3.0.5",
  121. "vue-tsc": "~2.1.6"
  122. }
  123. }