2020-12-24 02:37:23 +03:30
|
|
|
{
|
|
|
|
|
"name": "project",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"private": true,
|
2023-03-11 18:05:58 +01:00
|
|
|
"scripts": {
|
2023-08-11 17:30:22 +02:00
|
|
|
"dev": "vite",
|
|
|
|
|
"preview": "vite preview",
|
2023-06-05 00:58:21 +02:00
|
|
|
"build": "vite build",
|
2023-08-11 17:30:22 +02:00
|
|
|
"test": "node -e \"console.log('imagine')\"",
|
2023-03-11 18:05:58 +01:00
|
|
|
"build-md5": "find build -type f | sort | xargs md5sum | awk '{ print $1 }' | tr -d '\n' | md5sum| awk '{ print $1 }' > buildZip/md5sum ",
|
2024-01-05 20:11:29 +01:00
|
|
|
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Suwayomi-WebUI-r$rev *",
|
2024-01-26 20:49:43 +01:00
|
|
|
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --max-warnings=0",
|
2023-12-13 23:48:35 +01:00
|
|
|
"createChangelog": "ts-node tools/scripts/createReleaseChangelog.ts",
|
2023-11-04 23:11:40 +01:00
|
|
|
"updateDeps": "yarn upgrade && yarn syncyarnlock -s -k && yarn && git add package.json yarn.lock && git commit -m \"Update dependencies\" && echo Updated non breaking dependencies. Check potential breaking changes below... && yarn outdated",
|
2023-08-15 22:13:28 +02:00
|
|
|
"gql:codegen-base": "graphql-codegen --config gql_codegen.ts",
|
|
|
|
|
"gql:codegen-formatter": "ts-node tools/scripts/codegenFormatter.ts",
|
2024-03-08 22:42:48 +01:00
|
|
|
"gql:codegen": "yarn gql:codegen-base & yarn gql:codegen-formatter",
|
|
|
|
|
"prepare": "husky"
|
2023-03-11 18:05:58 +01:00
|
|
|
},
|
|
|
|
|
"browserslist": {
|
|
|
|
|
"production": [
|
|
|
|
|
">0.2%",
|
|
|
|
|
"not dead",
|
|
|
|
|
"not op_mini all"
|
|
|
|
|
],
|
|
|
|
|
"development": [
|
|
|
|
|
"last 1 chrome version",
|
|
|
|
|
"last 1 firefox version",
|
|
|
|
|
"last 1 safari version"
|
|
|
|
|
]
|
|
|
|
|
},
|
2024-03-08 22:42:48 +01:00
|
|
|
"lint-staged": {
|
|
|
|
|
"*.{ts,tsx,js,jsx}": "eslint --fix"
|
|
|
|
|
},
|
2020-12-24 02:37:23 +03:30
|
|
|
"dependencies": {
|
2024-01-29 21:17:27 +01:00
|
|
|
"@apollo/client": "^3.8.10",
|
2024-01-02 16:46:41 +01:00
|
|
|
"@emotion/react": "^11.11.3",
|
2023-06-04 21:25:34 +02:00
|
|
|
"@emotion/styled": "^11.11.0",
|
2023-09-17 23:03:29 +02:00
|
|
|
"@fontsource/roboto": "^5.0.8",
|
2024-01-29 21:17:27 +01:00
|
|
|
"@mui/icons-material": "^5.15.6",
|
|
|
|
|
"@mui/material": "^5.15.6",
|
|
|
|
|
"@mui/x-date-pickers": "^6.19.2",
|
2023-11-25 18:13:51 +01:00
|
|
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
2023-08-26 21:09:35 +02:00
|
|
|
"apollo-upload-client": "^17.0.0",
|
2023-11-12 01:41:10 +01:00
|
|
|
"dayjs": "^1.11.10",
|
2023-06-04 21:37:21 +02:00
|
|
|
"file-selector": "^0.6.0",
|
2023-08-26 21:09:35 +02:00
|
|
|
"graphql-tag": "^2.12.6",
|
2024-01-02 16:46:41 +01:00
|
|
|
"graphql-ws": "^5.14.3",
|
2024-01-29 21:17:27 +01:00
|
|
|
"i18next": "^23.8.1",
|
2023-11-25 18:13:51 +01:00
|
|
|
"i18next-browser-languagedetector": "^7.2.0",
|
2023-12-25 21:37:45 +01:00
|
|
|
"material-ui-popup-state": "^5.0.10",
|
2024-03-05 02:11:40 +01:00
|
|
|
"p-limit": "^5.0.0",
|
2023-06-04 21:40:04 +02:00
|
|
|
"react": "^18.2.0",
|
2023-06-04 21:22:02 +02:00
|
|
|
"react-beautiful-dnd": "^13.1.1",
|
2023-12-25 21:37:45 +01:00
|
|
|
"react-device-detect": "^2.2.3",
|
2023-06-04 21:40:04 +02:00
|
|
|
"react-dom": "^18.2.0",
|
2024-01-29 21:17:27 +01:00
|
|
|
"react-i18next": "^14.0.1",
|
|
|
|
|
"react-router-dom": "^6.21.3",
|
|
|
|
|
"react-virtuoso": "^4.6.3",
|
2023-06-04 21:27:09 +02:00
|
|
|
"use-query-params": "^2.2.1",
|
2024-01-29 21:17:27 +01:00
|
|
|
"vite": "^5.0.12",
|
|
|
|
|
"vite-tsconfig-paths": "^4.3.1"
|
2020-12-24 02:37:23 +03:30
|
|
|
},
|
2020-12-24 16:49:43 +03:30
|
|
|
"devDependencies": {
|
2023-07-09 00:06:52 +02:00
|
|
|
"@graphql-codegen/cli": "^5.0.0",
|
|
|
|
|
"@graphql-codegen/client-preset": "^4.1.0",
|
2023-11-04 23:11:40 +01:00
|
|
|
"@graphql-codegen/typescript-apollo-client-helpers": "^3.0.0",
|
2023-07-09 00:06:52 +02:00
|
|
|
"@graphql-codegen/typescript-operations": "^4.0.1",
|
2023-11-25 18:13:51 +01:00
|
|
|
"@types/apollo-upload-client": "^17.0.5",
|
2024-01-29 21:17:27 +01:00
|
|
|
"@types/node": "^20.11.10",
|
|
|
|
|
"@types/react": "^18.2.48",
|
2024-01-02 16:46:41 +01:00
|
|
|
"@types/react-beautiful-dnd": "^13.1.8",
|
|
|
|
|
"@types/react-dom": "^18.2.18",
|
2023-11-25 18:13:51 +01:00
|
|
|
"@types/yargs": "^17.0.32",
|
2024-01-29 21:17:27 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
|
|
|
"@typescript-eslint/parser": "^6.20.0",
|
2024-01-02 16:46:41 +01:00
|
|
|
"eslint": "^8.56.0",
|
2023-03-11 18:05:58 +01:00
|
|
|
"eslint-config-airbnb": "^19.0.4",
|
2023-09-17 23:03:29 +02:00
|
|
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
2024-01-02 16:46:41 +01:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
2023-05-18 13:17:41 +02:00
|
|
|
"eslint-plugin-header": "^3.1.1",
|
2024-01-02 16:46:41 +01:00
|
|
|
"eslint-plugin-import": "^2.29.1",
|
2023-11-04 23:11:40 +01:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
|
|
|
"eslint-plugin-no-relative-import-paths": "^1.5.3",
|
2024-01-29 21:17:27 +01:00
|
|
|
"eslint-plugin-prettier": "^5.1.3",
|
2023-09-17 23:03:29 +02:00
|
|
|
"eslint-plugin-react": "^7.33.2",
|
2023-03-11 18:05:58 +01:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
2023-10-27 21:19:45 +02:00
|
|
|
"eslint-plugin-unused-imports": "^3.0.0",
|
2024-03-08 22:42:48 +01:00
|
|
|
"husky": "^9.0.11",
|
|
|
|
|
"lint-staged": "^15.2.2",
|
2024-01-29 21:17:27 +01:00
|
|
|
"prettier": "^3.2.4",
|
2023-09-17 23:03:29 +02:00
|
|
|
"syncyarnlock": "^1.0.19",
|
2024-01-02 16:46:41 +01:00
|
|
|
"ts-node": "^10.9.2",
|
|
|
|
|
"typescript": "^5.3.3",
|
2023-08-11 17:23:56 +02:00
|
|
|
"yargs": "^17.7.2"
|
2020-12-24 02:37:23 +03:30
|
|
|
}
|
2021-01-21 15:04:11 +03:30
|
|
|
}
|