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": {
|
2024-03-31 23:36:39 +02:00
|
|
|
"ci": "yarn install --frozen-lockfile",
|
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-03-19 22:46:39 +01:00
|
|
|
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --max-warnings=0 --cache",
|
2024-04-07 21:47:07 +02:00
|
|
|
"createChangelog": "ts-node -T 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",
|
2024-04-07 21:47:07 +02:00
|
|
|
"gql:codegen-formatter": "ts-node -T 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
|
|
|
},
|
2024-03-08 23:31:56 +01:00
|
|
|
"engines": {
|
|
|
|
|
"node": "20.11.1"
|
|
|
|
|
},
|
2024-03-08 22:42:48 +01:00
|
|
|
"lint-staged": {
|
2024-03-19 22:46:39 +01:00
|
|
|
"*.{ts,tsx,js,jsx}": "eslint --fix --cache"
|
2024-03-08 22:42:48 +01:00
|
|
|
},
|
2020-12-24 02:37:23 +03:30
|
|
|
"dependencies": {
|
2024-03-31 23:34:40 +02:00
|
|
|
"@apollo/client": "^3.9.9",
|
2024-03-08 23:31:56 +01:00
|
|
|
"@emotion/react": "^11.11.4",
|
2024-03-31 23:34:40 +02:00
|
|
|
"@emotion/styled": "^11.11.5",
|
2024-03-08 23:31:56 +01:00
|
|
|
"@fontsource/roboto": "^5.0.12",
|
2024-03-31 23:34:40 +02:00
|
|
|
"@mui/icons-material": "^5.15.14",
|
|
|
|
|
"@mui/material": "^5.15.14",
|
|
|
|
|
"@mui/x-date-pickers": "^7.1.0",
|
2024-03-26 23:39:25 +01:00
|
|
|
"@vitejs/plugin-legacy": "^5.3.2",
|
2024-03-08 23:31:56 +01:00
|
|
|
"@vitejs/plugin-react-swc": "^3.6.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",
|
2024-03-31 23:34:40 +02:00
|
|
|
"graphql": "^16.8.1",
|
2023-08-26 21:09:35 +02:00
|
|
|
"graphql-tag": "^2.12.6",
|
2024-03-31 23:34:40 +02:00
|
|
|
"graphql-ws": "^5.16.0",
|
|
|
|
|
"html-react-parser": "^5.1.10",
|
2024-03-08 23:31:56 +01:00
|
|
|
"i18next": "^23.10.1",
|
2024-03-31 23:34:40 +02:00
|
|
|
"i18next-browser-languagedetector": "^7.2.1",
|
|
|
|
|
"material-ui-popup-state": "^5.1.0",
|
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-03-08 23:31:56 +01:00
|
|
|
"react-i18next": "^14.1.0",
|
|
|
|
|
"react-router-dom": "^6.22.3",
|
2024-03-31 23:34:40 +02:00
|
|
|
"react-virtuoso": "^4.7.7",
|
2024-04-05 02:03:00 +02:00
|
|
|
"use-long-press": "^3.2.0",
|
2023-06-04 21:27:09 +02:00
|
|
|
"use-query-params": "^2.2.1",
|
2024-03-31 23:34:40 +02:00
|
|
|
"vite": "^5.2.7",
|
|
|
|
|
"vite-tsconfig-paths": "^4.3.2"
|
2020-12-24 02:37:23 +03:30
|
|
|
},
|
2020-12-24 16:49:43 +03:30
|
|
|
"devDependencies": {
|
2024-03-08 23:31:56 +01:00
|
|
|
"@graphql-codegen/cli": "^5.0.2",
|
2024-03-31 23:34:40 +02:00
|
|
|
"@graphql-codegen/client-preset": "^4.2.5",
|
2023-11-04 23:11:40 +01:00
|
|
|
"@graphql-codegen/typescript-apollo-client-helpers": "^3.0.0",
|
2024-03-08 23:31:56 +01:00
|
|
|
"@graphql-codegen/typescript-operations": "^4.2.0",
|
2023-11-25 18:13:51 +01:00
|
|
|
"@types/apollo-upload-client": "^17.0.5",
|
2024-03-31 23:34:40 +02:00
|
|
|
"@types/node": "^20.12.2",
|
|
|
|
|
"@types/react": "^18.2.73",
|
2024-01-02 16:46:41 +01:00
|
|
|
"@types/react-beautiful-dnd": "^13.1.8",
|
2024-03-31 23:34:40 +02:00
|
|
|
"@types/react-dom": "^18.2.23",
|
2023-11-25 18:13:51 +01:00
|
|
|
"@types/yargs": "^17.0.32",
|
2024-03-31 23:34:40 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
|
|
|
"@typescript-eslint/parser": "^7.4.0",
|
2024-03-08 23:31:56 +01:00
|
|
|
"eslint": "^8.57.0",
|
2023-03-11 18:05:58 +01:00
|
|
|
"eslint-config-airbnb": "^19.0.4",
|
2024-03-08 23:31:56 +01:00
|
|
|
"eslint-config-airbnb-typescript": "^18.0.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",
|
2024-03-31 23:34:40 +02:00
|
|
|
"eslint-plugin-react": "^7.34.1",
|
2023-03-11 18:05:58 +01:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
2024-03-08 23:31:56 +01:00
|
|
|
"eslint-plugin-unused-imports": "^3.1.0",
|
2024-03-08 22:42:48 +01:00
|
|
|
"husky": "^9.0.11",
|
|
|
|
|
"lint-staged": "^15.2.2",
|
2024-03-08 23:31:56 +01:00
|
|
|
"prettier": "^3.2.5",
|
2023-09-17 23:03:29 +02:00
|
|
|
"syncyarnlock": "^1.0.19",
|
2024-03-31 23:34:40 +02:00
|
|
|
"terser": "^5.30.0",
|
2024-01-02 16:46:41 +01:00
|
|
|
"ts-node": "^10.9.2",
|
2024-03-31 23:34:40 +02:00
|
|
|
"typescript": "^5.4.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
|
|
|
}
|