- Replace @material-ui/core -> @mui/material - Replace @material-ui/icons -> @mui/icons-material - Switch makeStyles imports to @mui/styles (compat) - Add @mui/material, @mui/icons-material, @mui/styles, @emotion/react, @emotion/styled to package.json Notes: Kept makeStyles via @mui/styles for incremental migration; next: replace makeStyles usage with sx/styled where needed.
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"name": "frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@mui/material": "^5.14.0",
|
|
"@mui/icons-material": "^5.14.0",
|
|
"@mui/styles": "^5.14.0",
|
|
"@emotion/react": "^11.11.0",
|
|
"@emotion/styled": "^11.11.0",
|
|
"@testing-library/jest-dom": "^5.11.9",
|
|
"@testing-library/react": "^11.2.5",
|
|
"@testing-library/user-event": "^12.8.3",
|
|
"axios": "^0.21.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-code-blocks": "^0.0.8",
|
|
"react-dropzone": "^11.3.1",
|
|
"react-helmet": "^6.1.0",
|
|
"react-lottie": "^1.2.3",
|
|
"react-router-dom": "^6.28.0",
|
|
"react-scripts": "5.0.1",
|
|
"sass": "^1.32.8",
|
|
"sweetalert2": "^10.15.6",
|
|
"web-vitals": "^1.1.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "chmod +x ./env.sh && ./env.sh && cp env-config.js ./public/ && react-scripts start",
|
|
"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"
|
|
]
|
|
}
|
|
}
|