Files
suwayomi-material-you-webui/package.json
schroda 17e2d7585d Handle unsupported dayjs locales
DayJs doesn't support all the locales returned by "navigator.language"
2024-06-25 17:21:50 +02:00

110 lines
4.0 KiB
JSON

{
"name": "project",
"version": "0.1.0",
"private": true,
"scripts": {
"ci": "yarn install --frozen-lockfile",
"dev": "vite",
"preview": "vite preview",
"build": "vite build",
"test": "node -e \"console.log('imagine')\"",
"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/Suwayomi-WebUI-r$rev *",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --max-warnings=0 --cache",
"createChangelog": "ts-node -T tools/scripts/createReleaseChangelog.ts",
"createTranslationChangelog": "ts-node -T -r tsconfig-paths/register tools/scripts/createTranslationChangelog.ts",
"updateDeps": "ts-node -T tools/scripts/updateDependencies.ts",
"gql:codegen-base": "graphql-codegen --config gql_codegen.ts",
"gql:codegen-formatter": "ts-node -T tools/scripts/codegenFormatter.ts",
"gql:codegen": "yarn gql:codegen-base & yarn gql:codegen-formatter",
"i18n:gen-resources": "ts-node -T tools/scripts/generatei18nResources.ts",
"dayjs:gen-locales-array": "ts-node -T tools/scripts/generateDayJsLocales.ts",
"dayjs:gen-locales-import": "ts-node -T tools/scripts/generateDayJsLocalesImport.ts",
"dayjs:gen-locales": "yarn dayjs:gen-locales-array && yarn dayjs:gen-locales-import",
"prepare": "husky"
},
"engines": {
"node": "21.7.3"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "eslint --fix"
},
"dependencies": {
"@apollo/client": "3.10.6",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.5",
"@fontsource/roboto": "5.0.13",
"@loadable/component": "5.16.4",
"@mui/icons-material": "5.15.20",
"@mui/material": "5.15.20",
"@mui/x-date-pickers": "7.7.1",
"apollo-upload-client": "17.0.0",
"dayjs": "1.11.11",
"file-selector": "0.6.0",
"graphql": "16.9.0",
"graphql-tag": "2.12.6",
"graphql-ws": "5.16.0",
"html-react-parser": "5.1.10",
"i18next": "23.11.5",
"i18next-browser-languagedetector": "8.0.0",
"i18next-http-backend": "2.5.2",
"material-ui-popup-state": "5.1.2",
"mui-nested-menu": "3.4.0",
"p-limit": "5.0.0",
"react": "18.3.1",
"react-beautiful-dnd": "13.1.1",
"react-dom": "18.3.1",
"react-i18next": "14.1.2",
"react-lazily": "0.9.2",
"react-router-dom": "6.24.0",
"react-virtuoso": "4.7.11",
"sanitize-html": "2.13.0",
"stylis": "4.3.2",
"stylis-plugin-rtl": "2.1.1",
"use-long-press": "3.2.0",
"use-query-params": "2.2.1"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/client-preset": "4.3.0",
"@graphql-codegen/typescript-apollo-client-helpers": "3.0.0",
"@graphql-codegen/typescript-operations": "4.2.0",
"@types/apollo-upload-client": "17.0.5",
"@types/node": "20.14.8",
"@types/react": "18.3.3",
"@types/react-beautiful-dnd": "13.1.8",
"@types/react-dom": "18.3.0",
"@types/sanitize-html": "2.11.0",
"@types/stylis": "4.2.6",
"@types/yargs": "17.0.32",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.14.1",
"@vitejs/plugin-legacy": "5.4.1",
"@vitejs/plugin-react-swc": "3.7.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-no-relative-import-paths": "1.5.4",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.3",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-unused-imports": "3.2.0",
"husky": "9.0.11",
"lint-staged": "15.2.7",
"prettier": "3.3.2",
"syncyarnlock": "1.0.19",
"terser": "5.31.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.5.2",
"vite": "5.3.1",
"vite-tsconfig-paths": "4.3.2",
"yargs": "17.7.2"
}
}