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

feat: Added Inter Variable as the default font feat: Added a pattern to the page background. fix(react-multi-select-component): Made the multiselect components theme-agnostic, so it works properly with the light theme now. fix(react-select): Made the components fix the default 30px height of the rest of the input components. fix(useToggle): Fixed a bug where the toggle didn't work due to useCallback memoizing a callback with the old value. refactor(Base): - Added small theme-primary gradient to the beginning of the header. - Made the splitter border theme-agnostic. - Increased logo size a bit. - Moved the links a bit closer to the logo. - Updated the default link style to look more stylish. - Added a link to the autobrr Docs section (currently defaults to the Indexers sections, but this should lead to an "Overview" page for configuring autobrr) - Adapted the user dropdown to match the other header links' stylesheets and removed the annoying ring focus. - Adapted the header for theme-agnostic mobile usage. - Removed the negative padding/margin hacks. refactor(StatsItem): Increased shadow size/strength and made the description text a bit lighter on the dark theme. refactor(Dashboard): Increased the heading text sizes. refactor(Logs, Releases, Settings, Login, filters/details, filters/list): Adapted to match the previous changes and improved theme compatibility with regards to text. refactor(RegexPlayground): Fixed match highlight for JS regex.
123 lines
3.2 KiB
JSON
123 lines
3.2 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"proxy": "http://127.0.0.1:8989",
|
|
"homepage": ".",
|
|
"dependencies": {
|
|
"@fontsource/inter": "^4.5.4",
|
|
"@headlessui/react": "^1.2.0",
|
|
"@heroicons/react": "^1.0.1",
|
|
"date-fns": "^2.25.0",
|
|
"formik": "^2.2.9",
|
|
"react": "^17.0.2",
|
|
"react-cookie": "^4.1.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-hot-toast": "^2.1.1",
|
|
"react-multi-select-component": "^4.0.2",
|
|
"react-query": "^3.18.1",
|
|
"react-ridge-state": "^4.2.2",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-scripts": "^5.0.0",
|
|
"react-select": "5.0.0-beta.0",
|
|
"react-table": "^7.7.0",
|
|
"web-vitals": "^1.0.1"
|
|
},
|
|
"scripts": {
|
|
"start": "BROWSER=none react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"lint": "esw src/ --ext \".ts,.tsx,.js,.jsx\" --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.4.0",
|
|
"@testing-library/jest-dom": "^5.11.4",
|
|
"@testing-library/react": "^11.1.0",
|
|
"@testing-library/user-event": "^12.1.10",
|
|
"@types/jest": "^26.0.15",
|
|
"@types/node": "^12.0.0",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"@types/react-table": "^7.7.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
"autoprefixer": "^10.4.2",
|
|
"eslint": "^8.8.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-react": "^7.28.0",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"eslint-watch": "^8.0.0",
|
|
"postcss": "^8.4.6",
|
|
"tailwindcss": "^3.0.18",
|
|
"typescript": "^4.1.2"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:import/errors",
|
|
"plugin:import/warnings",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"plugins": [
|
|
"react",
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"react/jsx-uses-react": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-explicit-any": "off"
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 11,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true,
|
|
"experimentalObjectRestSpread": true
|
|
}
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
},
|
|
"import/resolver": {
|
|
"node": {
|
|
"extensions": [
|
|
".ts",
|
|
".tsx",
|
|
".js",
|
|
".jsx"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"jquery": false
|
|
},
|
|
"globals": {}
|
|
}
|
|
}
|