React app prod updates

This commit is contained in:
djmil 2023-12-01 22:32:51 +01:00
parent 2a3248435c
commit f9cb798dd8
6 changed files with 15 additions and 15 deletions

8
.gitignore vendored
View File

@ -35,3 +35,11 @@ out/
### VS Code ### ### VS Code ###
.vscode/ .vscode/
### React (prod build) static files ###
backend/src/main/resources/static/asset-manifest.json
backend/src/main/resources/static/favicon.ico
backend/src/main/resources/static/index.html
backend/src/main/resources/static/manifest.json
backend/src/main/resources/static/robots.txt
backend/src/main/resources/static/static/*

View File

@ -13,6 +13,9 @@
"react-scripts": "^5.0.1", "react-scripts": "^5.0.1",
"web-vitals": "^3.5.0" "web-vitals": "^3.5.0"
}, },
"optionalDependencies": {
"fsevents": "^2.x.x"
},
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
@ -22,8 +25,7 @@
"proxy": "http://localhost:8081", "proxy": "http://localhost:8081",
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [
"react-app", "react-app"
"react-app/jest"
] ]
}, },
"browserslist": { "browserslist": {

View File

@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>React App</title> <title>Corda Chechers</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -1,21 +1,11 @@
{ {
"short_name": "React App", "short_name": "Checkers",
"name": "Create React App Sample", "name": "Corda Checkers",
"icons": [ "icons": [
{ {
"src": "favicon.ico", "src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16", "sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon" "type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
} }
], ],
"start_url": ".", "start_url": ".",