Files
bracket/frontend/package.json
Erik Vroon a548ff6d61 Use hey-api (#1479)
Store the `openapi.json` of the backend in the repo and import it using
https://heyapi.dev/ to generate TypeScript types for the backend API
query params, responses, bodies.
2025-12-20 19:32:33 +01:00

73 lines
2.2 KiB
JSON

{
"name": "bracket",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"analyze": "ANALYZE=true vite build",
"openapi-ts": "openapi-ts",
"start": "vite start",
"typecheck": "tsc",
"export": "vite build && vite export",
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
"test": "tsc && pnpm run prettier:write"
},
"dependencies": {
"@emotion/react": "11.14.0",
"@emotion/server": "11.11.0",
"@hcaptcha/react-hcaptcha": "1.17.0",
"@hello-pangea/dnd": "18.0.1",
"@mantine/core": "8.3.7",
"@mantine/dates": "8.3.7",
"@mantine/dropzone": "8.3.7",
"@mantine/form": "8.3.7",
"@mantine/hooks": "8.3.7",
"@mantine/notifications": "8.3.7",
"@mantine/spotlight": "8.3.7",
"@react-icons/all-files": "4.1.0",
"@tabler/icons-react": "3.36.0",
"@vitejs/plugin-react": "5.1.0",
"axios": "1.13.0",
"date-fns": "4.1.0",
"dayjs": "1.11.10",
"i18next": "25.7.1",
"nuqs": "2.8.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-i18next": "16.5.0",
"react-icons": "5.5.0",
"react-qr-code": "2.0.12",
"react-router": "7.11.0",
"swr": "2.3.0"
},
"devDependencies": {
"@hey-api/openapi-ts": "0.89.2",
"@trivago/prettier-plugin-sort-imports": "6.0.0",
"@types/node": "25.0.0",
"@types/react": "19.2.4",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-mantine": "3.2.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsx-a11y": "6.10.0",
"eslint-plugin-react": "7.37.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-testing-library": "7.15.1",
"i18next-browser-languagedetector": "8.2.0",
"i18next-http-backend": "3.0.2",
"postcss": "8.5.0",
"postcss-preset-mantine": "1.18.0",
"postcss-simple-vars": "7.0.1",
"prettier": "3.7.1",
"typescript": "5.8.2",
"vite": "7.3.0",
"vite-plugin-i18next-loader": "3.1.3"
}
}