diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile old mode 100644 new mode 100755 diff --git a/jenkins/scripts/deliver.sh b/jenkins/scripts/deliver.sh index 21ddafd83f..ab0b057eaa 100755 --- a/jenkins/scripts/deliver.sh +++ b/jenkins/scripts/deliver.sh @@ -6,7 +6,7 @@ echo '"/var/jenkins_home/workspace/simple-node-js-react-app" directory),' echo 'correctly bundles React in production mode and optimizes the build for' echo 'the best performance.' set -x -npm run build +npm_config_loglevel=verbose npm run build set +x echo 'The following "npm" command runs your Node.js/React application in' @@ -18,7 +18,7 @@ echo 'is followed by another command that retrieves the process ID (PID) value' echo 'of the previously run process (i.e. "npm start") and writes this value to' echo 'the file ".pidfile".' set -x -npm start & +npm_config_loglevel=verbose npm start & sleep 1 echo $! > .pidfile set +x diff --git a/package.json b/package.json old mode 100644 new mode 100755 index 8899f759b5..90884b6cd7 --- a/package.json +++ b/package.json @@ -3,14 +3,36 @@ "version": "0.1.0", "private": true, "dependencies": { - "react": "^17.0.2", - "react-dom": "^17.0.2", - "react-scripts": "^4.0.3" + "@testing-library/jest-dom": "^5.16.5", + "@testing-library/react": "^13.4.0", + "@testing-library/user-event": "^13.5.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-scripts": "5.0.1", + "web-vitals": "^2.1.4" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test --env=jsdom", + "test": "react-scripts test", "eject": "react-scripts eject" + }, + "eslintConfig": { + "extends": [ + "react-app", + "react-app/jest" + ] + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] } } diff --git a/public/favicon.ico b/public/favicon.ico old mode 100644 new mode 100755 diff --git a/public/index.html b/public/index.html old mode 100644 new mode 100755 index 7bee027101..aa069f27cb --- a/public/index.html +++ b/public/index.html @@ -1,15 +1,20 @@ - +
- - - + + + + + + - - +