{
"name": "my-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@babel/core": "7.13.14",
// ... some more ...,
"react": "16.14.0",
"react-dom": "16.14.0",
"react-scripts": "4.0.2",
"styled-components": "5.2.1",
"web-vitals": "1.0.1"
},
"devDependencies": {
"@material-ui/core": "4.12.4",
"axios": "0.27.2",
"clean-webpack-plugin": "4.0.0",
"css-loader": "6.7.1",
"file-loader": "6.2.0",
"html-webpack-plugin": "5.5.0",
"mini-css-extract-plugin": "2.6.0",
"css-minimizer-webpack-plugin": "3.4.1",
"sass": "1.51.0",
"sass-loader": "12.6.0",
"style-loader": "3.3.1",
"terser-webpack-plugin": "2.3.8",
"webpack": "5.72.0",
"webpack-assets-manifest": "3.1.1",
"webpack-cli": "4.9.2",
"webpack-manifest-plugin": "5.0.0"
},
"scripts": {
"dev": "webpack serve",
"production": "webpack --mode production",
"start": "react-scripts start",
"build": "react-scripts build",
"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"
]
}
}
The '^' and '~' with the versions I have removed and made it static. The reason is that I had serious dependency errors during an upgrade of the packages.
Now I look for upgrades regularly and do it manually. It takes more time, but so does repairing upgrades that don't work.