move react types to a dev dependency and peer dependency

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2024-06-18 22:14:31 -04:00
parent 17ecea8223
commit dc9d3acc87
45 changed files with 331 additions and 90 deletions
+7 -1
View File
@@ -67,7 +67,6 @@
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"graphiql": "3.1.1",
"graphql": "^16.0.0",
"graphql-config": "^5.0.2",
@@ -85,9 +84,16 @@
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/highlightjs": "^10.1.0",
"@types/react": "^18.0.0",
"@types/swagger-ui-react": "^4.18.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"peerDependencies": {
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"