* Wrap data fetching in library and manga screen with swr for better dev and user experience. Refactor some API calls and data handling. Add manual refresh to manga detail. * Fix manga card layout * Fix refresh button position on small screens * Revert "Fix manga card layout" This reverts commit d85da3d8385e1ef64feed1789e4cd4591c8bd563. * Fix manga not setting title * Move chapters loading to Manga component, join data fetching, add auto online fetch if fetched data is old * Revert some changes
67 lines
2.0 KiB
JSON
67 lines
2.0 KiB
JSON
{
|
|
"name": "project",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@emotion/react": "^11.4.1",
|
|
"@emotion/styled": "^11.3.0",
|
|
"@fontsource/roboto": "^4.3.0",
|
|
"@mui/icons-material": "^5.0.5",
|
|
"@mui/lab": "^5.0.0-alpha.53",
|
|
"@mui/material": "^5.0.6",
|
|
"@mui/styles": "^5.0.2",
|
|
"@mui/system": "^5.0.6",
|
|
"axios": "^0.21.1",
|
|
"file-selector": "^0.2.4",
|
|
"p-queue": "^7.2.0",
|
|
"query-string": "^7.0.1",
|
|
"react": "^17.0.2",
|
|
"react-beautiful-dnd": "^13.0.0",
|
|
"react-dom": "^17.0.2",
|
|
"react-lazyload": "^3.2.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-scripts": "4.0.3",
|
|
"react-virtuoso": "^1.8.6",
|
|
"swr": "^1.3.0",
|
|
"use-query-params": "^1.2.3",
|
|
"web-vitals": "^2.1.0"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"build-md5": "find build -type f | sort | xargs md5sum | awk '{ print $1 }' | tr -d '\n' | md5sum| awk '{ print $1 }' > buildZip/md5sum ",
|
|
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Tachidesk-WebUI-r$rev *",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^17.0.2",
|
|
"@types/react-beautiful-dnd": "^13.0.0",
|
|
"@types/react-dom": "^17.0.2",
|
|
"@types/react-lazyload": "^3.1.0",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"@typescript-eslint/eslint-plugin": "4.29.3",
|
|
"@typescript-eslint/parser": "4.29.3",
|
|
"eslint": "^7.2.0",
|
|
"eslint-config-airbnb": "18.2.1",
|
|
"eslint-config-airbnb-typescript": "^14.0.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-react": "^7.21.5",
|
|
"eslint-plugin-react-hooks": "^1.7.0",
|
|
"typescript": "^4.4.2"
|
|
}
|
|
}
|