You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.2 KiB

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