Introduced `openapi-ts.config.ts` to generate client code from the OpenAPI spec. Updated several dependencies to enable OpenAPI integration, including `@hey-api` plugins, `axios`, and `@tanstack/react-query`. These changes set up the project for streamlined API access using autogenerated TypeScript clients.
38 lines
982 B
JSON
38 lines
982 B
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"docker:build": "docker build -t eventspace-frontend .",
|
|
"docker:run": "docker run -p 3000:3000 eventspace-frontend",
|
|
"openapi-ts": "openapi-ts"
|
|
},
|
|
"dependencies": {
|
|
"@hey-api/client-axios": "^0.6.2",
|
|
"@hey-api/client-fetch": "^0.8.3",
|
|
"@tanstack/react-query": "^5.67.1",
|
|
"axios": "^1.8.1",
|
|
"jwt-decode": "^4.0.0",
|
|
"next": "15.2.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@hey-api/openapi-ts": "^0.64.10",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20.17.23",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.2.0",
|
|
"openapi-typescript-codegen": "^0.29.0",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|