package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "webclient",
  3. "version": "0.0.1",
  4. "license": "BSD-3-Clause",
  5. "engines": {
  6. "node": "22.14.0",
  7. "yarn": "1.22.19"
  8. },
  9. "type": "module",
  10. "private": true,
  11. "dependencies": {
  12. "@radix-ui/react-collapsible": "^1.0.3",
  13. "@radix-ui/react-dialog": "^1.0.5",
  14. "@radix-ui/react-popover": "^1.0.6",
  15. "classnames": "^2.3.1",
  16. "react": "^18.2.0",
  17. "react-dom": "^18.2.0",
  18. "swr": "^2.2.4",
  19. "wouter": "^2.11.0",
  20. "zustand": "^4.4.7"
  21. },
  22. "devDependencies": {
  23. "@types/node": "^22.14.0",
  24. "@types/react": "^18.0.20",
  25. "@types/react-dom": "^18.0.6",
  26. "@vitejs/plugin-react-swc": "^3.6.0",
  27. "autoprefixer": "^10.4.15",
  28. "eslint": "^8.23.1",
  29. "eslint-config-react-app": "^7.0.1",
  30. "eslint-plugin-curly-quotes": "^1.0.4",
  31. "jsdom": "^23.0.1",
  32. "postcss": "^8.4.31",
  33. "prettier": "^2.5.1",
  34. "prettier-plugin-organize-imports": "^3.2.2",
  35. "tailwindcss": "^3.3.3",
  36. "typescript": "^5.3.3",
  37. "vite": "^5.4.21",
  38. "vite-plugin-svgr": "^4.2.0",
  39. "vite-tsconfig-paths": "^3.5.0",
  40. "vitest": "^1.6.1"
  41. },
  42. "resolutions": {
  43. "@typescript-eslint/eslint-plugin": "^6.2.1",
  44. "@typescript-eslint/parser": "^6.2.1"
  45. },
  46. "scripts": {
  47. "build": "vite build",
  48. "start": "vite",
  49. "lint": "tsc --noEmit && eslint 'src/**/*.{ts,tsx,js,jsx}'",
  50. "test": "vitest",
  51. "format": "prettier --write 'src/**/*.{ts,tsx}'",
  52. "format-check": "prettier --check 'src/**/*.{ts,tsx}'"
  53. },
  54. "eslintConfig": {
  55. "extends": [
  56. "react-app"
  57. ],
  58. "plugins": [
  59. "curly-quotes",
  60. "react-hooks"
  61. ],
  62. "rules": {
  63. "curly-quotes/no-straight-quotes": "warn",
  64. "react-hooks/rules-of-hooks": "error",
  65. "react-hooks/exhaustive-deps": "error"
  66. },
  67. "settings": {
  68. "projectRoot": "client/web/package.json"
  69. }
  70. },
  71. "prettier": {
  72. "semi": false,
  73. "printWidth": 80
  74. },
  75. "postcss": {
  76. "plugins": {
  77. "tailwindcss": {},
  78. "autoprefixer": {}
  79. }
  80. }
  81. }