package.json 3.6 KB

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