mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00

* fix: remove react-cookie since we can't delete the user_session cookie using JS (due to httponly being set) * chore: update dependencies and set a global react dependency override (react-ridge-state creates a problem, this fixes it) * chore: tidy up APIClient, login and logout pages * fix: catch canOnboard() error in login.tsx enhancement: add toast notify on intentional logout and nicely reset the context state; make sure screen-blinking is down to a minimum by having min-h-screen present. * fix: let onboarding redirect to / instead of /login (/login isn't used anymore) * fix: use normal <input /> caret cursor for SearchColumnFilter, instead of pointer * chore(web): remove react-cookie package
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"homepage": ".",
|
|
"overrides": {
|
|
"react": "$react"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource/inter": "^4.5.11",
|
|
"@headlessui/react": "^1.6.4",
|
|
"@heroicons/react": "^1.0.6",
|
|
"@hookform/error-message": "^2.0.0",
|
|
"date-fns": "^2.28.0",
|
|
"formik": "^2.2.9",
|
|
"react": "^18.2.0",
|
|
"react-debounce-input": "^3.3.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-error-boundary": "^3.1.4",
|
|
"react-hook-form": "^7.32.1",
|
|
"react-hot-toast": "^2.2.0",
|
|
"react-multi-select-component": "^4.2.9",
|
|
"react-query": "^3.39.1",
|
|
"react-ridge-state": "4.2.2",
|
|
"react-router-dom": "^6.3.0",
|
|
"react-scripts": "^5.0.1",
|
|
"react-select": "^5.3.2",
|
|
"react-table": "^7.8.0",
|
|
"stacktracey": "^2.1.8"
|
|
},
|
|
"scripts": {
|
|
"start": "BROWSER=none react-scripts start",
|
|
"build": "react-scripts build",
|
|
"eject": "react-scripts eject",
|
|
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx --color",
|
|
"lint:watch": "npm run lint -- --watch"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/forms": "^0.5.2",
|
|
"@types/node": "^18.0.0",
|
|
"@types/react": "^18.0.12",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"@types/react-table": "^7.7.12",
|
|
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
|
"@typescript-eslint/parser": "^5.28.0",
|
|
"autoprefixer": "^10.4.7",
|
|
"eslint": "^8.17.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-react": "^7.30.0",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-watch": "^8.0.0",
|
|
"http-proxy-middleware": "^2.0.6",
|
|
"postcss": "^8.4.14",
|
|
"tailwindcss": "^3.1.3",
|
|
"typescript": "^4.7.3"
|
|
}
|
|
}
|