package.json 3.5 KB

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