Introduce a new Providers component to manage global contexts including react-query, theme switching, and authentication. Added necessary dependencies: `@tanstack/react-query-devtools` and `next-themes`, and configured default options for react-query.
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
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",
|
|
"format": "prettier --write .",
|
|
"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",
|
|
"@tanstack/react-query-devtools": "^5.67.1",
|
|
"@types/node": "^20.17.23",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.2.0",
|
|
"eslint-config-prettier": "^10.0.2",
|
|
"eslint-plugin-prettier": "^5.2.3",
|
|
"next-themes": "^0.4.4",
|
|
"openapi-typescript-codegen": "^0.29.0",
|
|
"prettier": "^3.5.3",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|