Replaces nginx.conf CSP map with inline policy and updates the policy for development. Adds new dependencies including Mantine, Radix, Tabler, FontAwesome, and others. Removes the fetch-openapi.js script and introduces generate-choice-labels.cjs to auto-generate TypeScript choice label constants from Orval enums, updating the api:gen script to run this generator. Also updates orval and other dev dependencies, and makes minor formatting changes in orval.config.ts.
59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"api:gen": "orval --config src/orval.config.ts && node scripts/generate-choice-labels.cjs"
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
"@fortawesome/react-fontawesome": "^3.1.1",
|
|
"@headlessui/react": "^2.2.9",
|
|
"@heroicons/react": "^2.2.0",
|
|
"@mantine/core": "^8.3.11",
|
|
"@mantine/dates": "^8.3.11",
|
|
"@mantine/hooks": "^8.3.11",
|
|
"@radix-ui/react-switch": "^1.2.6",
|
|
"@tabler/icons-react": "^3.36.1",
|
|
"@tailwindcss/vite": "^4.1.16",
|
|
"@tanstack/react-query": "^5.90.12",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"@types/react-router": "^5.1.20",
|
|
"axios": "^1.13.0",
|
|
"dayjs": "^1.11.19",
|
|
"framer-motion": "^12.25.0",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-hook-form": "^7.70.0",
|
|
"react-icons": "^5.5.0",
|
|
"react-router-dom": "^7.8.1",
|
|
"react-toastify": "^11.0.5",
|
|
"tailwindcss": "^4.1.16"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.33.0",
|
|
"@tailwindcss/postcss": "^4.1.17",
|
|
"@types/node": "^24.10.4",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.1.7",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
"dotenv": "^17.2.3",
|
|
"eslint": "^9.33.0",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
"globals": "^16.3.0",
|
|
"orval": "^8.0.2",
|
|
"prettier": "^3.7.4",
|
|
"typescript": "~5.8.3",
|
|
"typescript-eslint": "^8.39.1",
|
|
"vite": "^7.1.2"
|
|
}
|
|
}
|