package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {
  2. "type": "module",
  3. "version": "4.12.1",
  4. "engines": {
  5. "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
  6. },
  7. "scripts": {
  8. "dev": "vite --mode development ",
  9. "dev1": "vite --mode development1",
  10. "build": "vue-tsc --noEmit && vite build",
  11. "build:test": "vue-tsc --noEmit && vite build --mode test",
  12. "serve": "http-server ./dist -o",
  13. "serve:test": "http-server ./dist-test -o",
  14. "svgo": "svgo -f src/assets/icons",
  15. "new": "plop",
  16. "generate:icons": "esno ./scripts/generate.icons.ts",
  17. "lint": "npm-run-all -s lint:tsc lint:eslint lint:stylelint",
  18. "lint:tsc": "vue-tsc -b",
  19. "lint:eslint": "eslint . --cache --fix",
  20. "lint:stylelint": "stylelint \"src/**/*.{css,scss,vue}\" --cache --fix",
  21. "preinstall": "npx only-allow pnpm",
  22. "commit": "git cz",
  23. "release": "bumpp",
  24. "test": "vitest",
  25. "test:run": "vitest run",
  26. "test:coverage": "vitest run --coverage"
  27. },
  28. "dependencies": {
  29. "@headlessui/vue": "^1.7.23",
  30. "@imengyu/vue3-context-menu": "^1.4.4",
  31. "@vue-office/docx": "^1.6.3",
  32. "@vue/component-compiler-utils": "^3.3.0",
  33. "@vueuse/components": "^12.0.0",
  34. "@vueuse/core": "^12.0.0",
  35. "@vueuse/integrations": "^12.0.0",
  36. "axios": "^1.7.9",
  37. "chinese-days": "^1.5.1",
  38. "dayjs": "^1.11.13",
  39. "decimal.js": "^10.6.0",
  40. "defu": "^6.1.4",
  41. "disable-devtool": "^0.3.8",
  42. "echarts": "^6.0.0",
  43. "element-plus": "^2.9.0",
  44. "eruda": "^3.4.1",
  45. "file-saver": "^2.0.5",
  46. "floating-vue": "5.2.2",
  47. "hotkeys-js": "^3.13.7",
  48. "js-pinyin": "^0.2.7",
  49. "jszip": "^3.10.1",
  50. "lodash-es": "^4.17.21",
  51. "mitt": "^3.0.1",
  52. "mockjs": "^1.1.0",
  53. "nprogress": "^0.2.0",
  54. "overlayscrollbars": "^2.10.1",
  55. "overlayscrollbars-vue": "^0.5.9",
  56. "path-browserify": "^1.0.1",
  57. "path-to-regexp": "^8.2.0",
  58. "pinia": "^2.3.0",
  59. "qrcode": "^1.5.4",
  60. "qrcode.vue": "^3.6.0",
  61. "qs": "^6.13.1",
  62. "scule": "^1.3.0",
  63. "vconsole": "^3.15.1",
  64. "vue": "^3.5.13",
  65. "vue-cropper": "^1.1.4",
  66. "vue-m-message": "^4.0.2",
  67. "vue-router": "^4.5.0",
  68. "vuedraggable": "^4.1.0"
  69. },
  70. "devDependencies": {
  71. "@antfu/eslint-config": "3.11.2",
  72. "@iconify/json": "^2.2.280",
  73. "@iconify/vue": "^4.2.0",
  74. "@stylistic/stylelint-config": "^2.0.0",
  75. "@types/lodash-es": "^4.17.12",
  76. "@types/mockjs": "^1.0.10",
  77. "@types/nprogress": "^0.2.3",
  78. "@types/path-browserify": "^1.0.3",
  79. "@types/qs": "^6.9.17",
  80. "@unocss/eslint-plugin": "^0.65.1",
  81. "@vitejs/plugin-legacy": "^6.0.0",
  82. "@vitejs/plugin-vue": "^5.2.1",
  83. "@vitejs/plugin-vue-jsx": "^4.1.1",
  84. "autoprefixer": "^10.4.20",
  85. "boxen": "^8.0.1",
  86. "bumpp": "^9.9.0",
  87. "cz-git": "^1.11.0",
  88. "eslint": "^9.16.0",
  89. "esno": "^4.8.0",
  90. "fs-extra": "^11.2.0",
  91. "http-server": "^14.1.1",
  92. "inquirer": "^12.2.0",
  93. "lint-staged": "^15.2.10",
  94. "npm-run-all2": "^7.0.1",
  95. "picocolors": "^1.1.1",
  96. "plop": "^4.0.1",
  97. "postcss": "^8.4.49",
  98. "postcss-nested": "^7.0.2",
  99. "sass-embedded": "^1.82.0",
  100. "stylelint": "^16.11.0",
  101. "stylelint-config-recess-order": "^5.1.1",
  102. "stylelint-config-standard-scss": "^14.0.0",
  103. "stylelint-config-standard-vue": "^1.0.0",
  104. "stylelint-scss": "^6.10.0",
  105. "svgo": "^3.3.2",
  106. "typescript": "^5.6.3",
  107. "unocss": "^0.65.1",
  108. "unocss-preset-scrollbar": "^0.3.1",
  109. "unplugin-auto-import": "^0.18.6",
  110. "unplugin-turbo-console": "^1.10.6",
  111. "unplugin-vue-components": "^0.27.5",
  112. "vite": "^6.0.3",
  113. "vite-plugin-app-loading": "^0.3.0",
  114. "vite-plugin-archiver": "^0.1.1",
  115. "vite-plugin-banner": "^0.8.0",
  116. "vite-plugin-compression2": "^1.3.3",
  117. "vite-plugin-fake-server": "^2.1.4",
  118. "vite-plugin-pages": "^0.32.4",
  119. "vite-plugin-svg-icons": "^2.0.1",
  120. "vite-plugin-vue-devtools": "^7.6.7",
  121. "vite-plugin-vue-meta-layouts": "^0.5.1",
  122. "vue-tsc": "^2.1.10",
  123. "vitest": "^2.1.8",
  124. "@vitest/coverage-v8": "^2.1.8",
  125. "jsdom": "^25.0.1"
  126. },
  127. "simple-git-hooks": {
  128. "pre-commit": "pnpm lint-staged",
  129. "preserveUnused": true
  130. },
  131. "config": {
  132. "commitizen": {
  133. "path": "node_modules/cz-git"
  134. }
  135. }
  136. }