package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "private": true,
  3. "packageManager": "pnpm@8.2.0",
  4. "scripts": {
  5. "build": "vite build",
  6. "dev": "vite --port 3333 --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. },
  14. "dependencies": {
  15. "@vueuse/core": "^9.13.0",
  16. "axios": "^1.4.0",
  17. "element-plus": "^2.3.4",
  18. "vue": "^3.2.47",
  19. "vue-router": "^4.1.6"
  20. },
  21. "devDependencies": {
  22. "@antfu/eslint-config": "^0.38.4",
  23. "@iconify/json": "^2.2.55",
  24. "@types/node": "^18.15.11",
  25. "@unocss/eslint-config": "^0.51.4",
  26. "@unocss/reset": "^0.51.4",
  27. "@vitejs/plugin-vue": "^4.1.0",
  28. "@vue-macros/volar": "^0.9.5",
  29. "@vue/test-utils": "^2.3.2",
  30. "eslint": "^8.38.0",
  31. "jsdom": "^21.1.1",
  32. "lint-staged": "^13.2.1",
  33. "pnpm": "^8.2.0",
  34. "simple-git-hooks": "^2.8.1",
  35. "taze": "^0.9.1",
  36. "typescript": "^5.0.4",
  37. "unocss": "^0.51.4",
  38. "unplugin-auto-import": "^0.15.2",
  39. "unplugin-icons": "^0.16.1",
  40. "unplugin-vue-components": "^0.24.1",
  41. "unplugin-vue-macros": "^2.0.0",
  42. "vite": "^4.2.1",
  43. "vite-plugin-pages": "^0.29.0",
  44. "vitest": "^0.30.1",
  45. "vue-tsc": "^1.2.0"
  46. },
  47. "simple-git-hooks": {
  48. "pre-commit": "pnpm lint-staged"
  49. },
  50. "lint-staged": {
  51. "*": "eslint --fix"
  52. },
  53. "eslintConfig": {
  54. "extends": [
  55. "@antfu",
  56. "@unocss"
  57. ]
  58. }
  59. }