package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "private": true,
  3. "scripts": {
  4. "build": "vite build",
  5. "dev": "vite --port 3333 --open",
  6. "lint": "eslint .",
  7. "typecheck": "vue-tsc --noEmit",
  8. "preview": "vite preview",
  9. "test": "vitest",
  10. "up": "taze major -I",
  11. "postinstall": "npx simple-git-hooks"
  12. },
  13. "dependencies": {
  14. "@vueuse/core": "^9.13.0",
  15. "element-plus": "^2.3.1",
  16. "vue": "^3.2.47",
  17. "vue-router": "^4.1.6"
  18. },
  19. "devDependencies": {
  20. "@antfu/eslint-config": "^0.36.0",
  21. "@iconify-json/carbon": "^1.1.16",
  22. "@types/node": "^18.14.6",
  23. "@unocss/reset": "^0.50.3",
  24. "@vitejs/plugin-vue": "^4.0.0",
  25. "@vue-macros/volar": "^0.8.4",
  26. "@vue/test-utils": "^2.3.0",
  27. "eslint": "^8.35.0",
  28. "jsdom": "^21.1.0",
  29. "lint-staged": "^13.1.2",
  30. "pnpm": "^7.28.0",
  31. "simple-git-hooks": "^2.8.1",
  32. "taze": "^0.9.0",
  33. "typescript": "^4.9.5",
  34. "unplugin-auto-import": "^0.15.0",
  35. "unplugin-vue-components": "^0.24.0",
  36. "unplugin-vue-macros": "^1.9.1",
  37. "vite": "^4.1.4",
  38. "vite-plugin-pages": "^0.28.0",
  39. "vite-plugin-windicss": "^1.8.10",
  40. "vitest": "^0.29.2",
  41. "volar-plugin-vue-router": "^0.1.0",
  42. "vue-tsc": "^1.2.0",
  43. "windicss": "^3.5.6"
  44. },
  45. "simple-git-hooks": {
  46. "pre-commit": "pnpm lint-staged"
  47. },
  48. "lint-staged": {
  49. "*": "eslint --fix"
  50. },
  51. "eslintConfig": {
  52. "extends": "@antfu"
  53. }
  54. }