package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "type": "module",
  3. "version": "0.3.0",
  4. "engines": {
  5. "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
  6. },
  7. "scripts": {
  8. "dev": "vite",
  9. "build": "vue-tsc --noEmit & vite build",
  10. "build:test": "vue-tsc && 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. "lint": "npm-run-all -s lint:tsc lint:eslint lint:stylelint",
  16. "lint:tsc": "vue-tsc --noEmit",
  17. "lint:eslint": "eslint . --cache --fix",
  18. "lint:stylelint": "stylelint \"src/**/*.{css,scss,vue}\" --cache --fix",
  19. "postinstall": "simple-git-hooks",
  20. "preinstall": "npx only-allow pnpm",
  21. "commit": "git cz",
  22. "release": "bumpp"
  23. },
  24. "dependencies": {
  25. "@headlessui/vue": "^1.7.22",
  26. "@vant/touch-emulator": "^1.4.0",
  27. "@vueuse/components": "^11.0.3",
  28. "@vueuse/core": "^11.0.3",
  29. "@vueuse/integrations": "^11.0.3",
  30. "animate.css": "^4.1.1",
  31. "axios": "^1.7.7",
  32. "dayjs": "^1.11.13",
  33. "echarts": "^5.5.1",
  34. "eruda": "^3.2.3",
  35. "mitt": "^3.0.1",
  36. "mockjs": "^1.1.0",
  37. "nprogress": "^0.2.0",
  38. "overlayscrollbars-vue": "^0.5.9",
  39. "path-browserify": "^1.0.1",
  40. "pinia": "^2.2.2",
  41. "qrcode": "^1.5.4",
  42. "qs": "^6.13.0",
  43. "swiper": "^11.1.11",
  44. "vant": "^4.9.4",
  45. "vconsole": "^3.15.1",
  46. "vue": "^3.4.38",
  47. "vue-esign": "^1.1.4",
  48. "vue-m-message": "^4.0.2",
  49. "vue-router": "^4.4.3"
  50. },
  51. "devDependencies": {
  52. "@antfu/eslint-config": "^2.25.1",
  53. "@iconify/json": "^2.2.243",
  54. "@iconify/vue": "^4.1.2",
  55. "@stylistic/stylelint-config": "^2.0.0",
  56. "@types/lodash-es": "^4.17.12",
  57. "@types/mockjs": "^1.0.10",
  58. "@types/node": "^22.5.5",
  59. "@types/nprogress": "^0.2.3",
  60. "@types/path-browserify": "^1.0.3",
  61. "@types/qrcode": "^1.5.5",
  62. "@types/qs": "^6.9.15",
  63. "@unocss/eslint-plugin": "^0.62.3",
  64. "@unocss/preset-rem-to-px": "^0.62.3",
  65. "@vitejs/plugin-legacy": "^5.4.2",
  66. "@vitejs/plugin-vue": "^5.1.3",
  67. "@vitejs/plugin-vue-jsx": "^4.0.1",
  68. "@yeungkc/unocss-preset-safe-area": "^0.0.10",
  69. "autoprefixer": "^10.4.20",
  70. "boxen": "^8.0.1",
  71. "bumpp": "^9.5.2",
  72. "cz-git": "^1.9.4",
  73. "eslint": "^9.9.1",
  74. "http-server": "^14.1.1",
  75. "lint-staged": "^15.2.9",
  76. "lodash-es": "^4.17.21",
  77. "npm-run-all2": "^6.2.2",
  78. "picocolors": "^1.0.1",
  79. "plop": "^4.0.1",
  80. "postcss": "^8.4.42",
  81. "postcss-mobile-forever": "^4.1.5",
  82. "postcss-nested": "^6.2.0",
  83. "sass": "^1.77.8",
  84. "simple-git-hooks": "^2.11.1",
  85. "stylelint": "^16.9.0",
  86. "stylelint-config-recess-order": "^5.1.0",
  87. "stylelint-config-standard-scss": "^13.1.0",
  88. "stylelint-config-standard-vue": "^1.0.0",
  89. "stylelint-scss": "^6.5.1",
  90. "svgo": "^3.3.2",
  91. "typescript": "^5.5.4",
  92. "unocss": "^0.62.3",
  93. "unplugin-auto-import": "^0.18.2",
  94. "unplugin-turbo-console": "^1.10.1",
  95. "unplugin-vue-components": "^0.27.4",
  96. "unplugin-vue-router": "^0.10.7",
  97. "vite": "^5.4.2",
  98. "vite-plugin-archiver": "^0.1.1",
  99. "vite-plugin-banner": "^0.7.1",
  100. "vite-plugin-compression2": "^1.2.0",
  101. "vite-plugin-fake-server": "^2.1.1",
  102. "vite-plugin-pages": "^0.32.3",
  103. "vite-plugin-svg-icons": "^2.0.1",
  104. "vite-plugin-vue-devtools": "^7.3.9",
  105. "vue-countup-v3": "^1.4.2",
  106. "vue-tsc": "^2.1.4"
  107. },
  108. "simple-git-hooks": {
  109. "pre-commit": "pnpm lint-staged",
  110. "preserveUnused": true
  111. },
  112. "config": {
  113. "commitizen": {
  114. "path": "node_modules/cz-git"
  115. }
  116. }
  117. }