package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "private": true,
  3. "packageManager": "pnpm@8.1.0",
  4. "scripts": {
  5. "build": "vite build",
  6. "dev": "vite --port 3500 --open",
  7. "lint": "eslint .",
  8. "typecheck": "vue-tsc --noEmit",
  9. "preview": "vite preview",
  10. "test": "vitest",
  11. "up": "taze major -I",
  12. "postinstall": "npx simple-git-hooks",
  13. "prepare": "husky install"
  14. },
  15. "dependencies": {
  16. "@vueuse/core": "^9.13.0",
  17. "echarts": "^5.4.2",
  18. "element-plus": "^2.3.2",
  19. "pinia": "^2.0.34",
  20. "sass": "^1.62.0",
  21. "swiper": "^9.2.3",
  22. "tinymce": "^6.4.2",
  23. "vue": "^3.2.47",
  24. "vue-awesome-swiper": "^5.0.1",
  25. "vue-router": "^4.0.13"
  26. },
  27. "devDependencies": {
  28. "@antfu/eslint-config": "^0.38.2",
  29. "@iconify-json/carbon": "^1.1.16",
  30. "@iconify/json": "^2.2.62",
  31. "@types/node": "^18.15.11",
  32. "@unocss/reset": "^0.50.6",
  33. "@vitejs/plugin-vue": "^4.1.0",
  34. "@vue-macros/volar": "^0.9.4",
  35. "@vue/test-utils": "^2.3.2",
  36. "axios": "^1.3.5",
  37. "eslint": "^8.37.0",
  38. "husky": "^8.0.0",
  39. "jsdom": "^21.1.1",
  40. "lint-staged": "^13.2.0",
  41. "pnpm": "^8.1.0",
  42. "simple-git-hooks": "^2.8.1",
  43. "taze": "^0.9.1",
  44. "typescript": "^5.0.2",
  45. "unplugin-auto-import": "^0.15.2",
  46. "unplugin-icons": "^0.16.1",
  47. "unplugin-vue-components": "^0.24.1",
  48. "unplugin-vue-macros": "^1.11.2",
  49. "vite": "^4.2.1",
  50. "vite-plugin-pages": "^0.29.0",
  51. "vite-plugin-windicss": "^1.8.10",
  52. "vitest": "^0.29.8",
  53. "vue-tsc": "^1.2.0",
  54. "windicss": "^3.5.6"
  55. },
  56. "simple-git-hooks": {
  57. "pre-commit": "pnpm lint-staged"
  58. },
  59. "lint-staged": {
  60. "*": "eslint --fix"
  61. },
  62. "eslintConfig": {
  63. "extends": "@antfu"
  64. }
  65. }