make ui build with react-scripts

This commit is contained in:
David Christofas
2022-07-04 14:38:59 +02:00
parent 5ad306e8c1
commit 56f8fc510f
108 changed files with 1207 additions and 2724 deletions
+15 -32
View File
@@ -5,7 +5,7 @@
"homepage": ".",
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "node scripts/build.js && rm -f build/service-worker.js",
"build": "react-scripts build",
"eject": "react-scripts eject",
"licenses": "NODE_PATH=./node_modules node ../scripts/js-license-ranger.js",
"licenses:check": "license-checker-rseidelsohn --summary --relativeLicensePath --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages 'identifier;kpop;po2json;unicoderegexp'",
@@ -45,12 +45,8 @@
"rules": {
"no-unused-vars": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"@typescript-eslint/no-use-before-define": [
"error"
],
"@typescript-eslint/no-unused-vars": [0],
"@typescript-eslint/no-use-before-define": [0],
"i18next/no-literal-string": [
"off",
{
@@ -68,7 +64,16 @@
"@fontsource/roboto": "^4.5.1",
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"axios": "^0.27.2",
"@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.2",
"@types/react-dom": "^17.0.2",
"@types/react-redux": "^7.1.19",
"@types/redux-logger": "^3.0.9",
"axios": "^0.22.0",
"classnames": "^2.2.6",
"i18next": "^21.6.13",
"i18next-browser-languagedetector": "^6.1.3",
@@ -87,37 +92,15 @@
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"render-if": "^0.1.1",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"devDependencies": {
"@testing-library/dom": "^8.14.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.2",
"@types/react-dom": "^17.0.2",
"@types/react-redux": "^7.1.19",
"@types/redux-logger": "^3.0.9",
"babel-eslint": "^10.1.0",
"cldr": "^7.1.1",
"eslint": "^8.18.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-i18next": "^5.1.2",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-intl-format": "^1.1.7",
"html-webpack-plugin": "4.5.2",
"i18next-conv": "^12.1.0",
"i18next-parser": "^5.4.0",
"mini-css-extract-plugin": "^2.6.1",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"react-dev-utils": "^11.0.4",
"source-map-explorer": "^1.8.0",
"typescript": "^4.1.2",
"webpack": "^5.73.0",
"webpack-manifest-plugin": "^4.1.1",
"workbox-webpack-plugin": "^6.5.3"
"yarn-deduplicate": "^1.1.1"
}
}