package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "private": true,
  3. "packageManager": "pnpm@8.5.1",
  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": "^10.1.2",
  16. "vue": "^3.3.2",
  17. "vue-router": "^4.2.0"
  18. },
  19. "devDependencies": {
  20. "@antfu/eslint-config": "^0.38.6",
  21. "@iconify-json/carbon": "^1.1.16",
  22. "@types/node": "^18.16.11",
  23. "@unocss/eslint-config": "^0.51.13",
  24. "@unocss/reset": "^0.51.13",
  25. "@vitejs/plugin-vue": "^4.2.3",
  26. "@vue-macros/volar": "^0.9.8",
  27. "@vue/test-utils": "^2.3.2",
  28. "eslint": "8.39.0",
  29. "jsdom": "^22.0.0",
  30. "lint-staged": "^13.2.2",
  31. "pnpm": "^8.5.1",
  32. "simple-git-hooks": "^2.8.1",
  33. "taze": "^0.10.1",
  34. "typescript": "^5.0.4",
  35. "unocss": "^0.51.13",
  36. "unplugin-auto-import": "^0.16.0",
  37. "unplugin-vue-components": "^0.24.1",
  38. "unplugin-vue-macros": "^2.1.7",
  39. "vite": "^4.3.7",
  40. "vite-plugin-pages": "^0.29.0",
  41. "vitest": "^0.31.0",
  42. "vue-tsc": "^1.6.5"
  43. },
  44. "simple-git-hooks": {
  45. "pre-commit": "pnpm lint-staged"
  46. },
  47. "lint-staged": {
  48. "*": "eslint --fix"
  49. },
  50. "eslintConfig": {
  51. "extends": [
  52. "@antfu",
  53. "@unocss"
  54. ]
  55. }
  56. }