Andreas Svanberg 5b6b7fd0ec Basic scaffolding of the frontend (#2)
The base comes from [`npm create vite@latest`](https://vite.dev/guide/#scaffolding-your-first-vite-project) project with [Prettier](https://prettier.io/) added.

It has been connected with the backend and authentication is in place.

Reviewed-on: #2
Reviewed-by: erth9960 <thuning@dsv.su.se>
2025-06-04 07:55:51 +02:00

37 lines
984 B
JSON

{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"format": "prettier . --write",
"update-api": "openapi-typescript http://localhost:8080/v3/api-docs --output src/lib/api.d.ts",
"preview": "vite preview"
},
"dependencies": {
"openapi-fetch": "^0.13.5",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router": "^7.4.1"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react-swc": "^3.8.0",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^15.15.0",
"openapi-typescript": "^7.6.1",
"prettier": "3.5.3",
"typescript": "~5.7.2",
"typescript-eslint": "^8.24.1",
"vite": "^6.2.0"
}
}