Skip to content

Commit 33f13c4

Browse files
authored
Changed react-scripts to be only dev dependency (#1222)
1 parent 000071e commit 33f13c4

File tree

2 files changed

+812
-703
lines changed

2 files changed

+812
-703
lines changed

portal-ui/package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
"lodash": "^4.17.21",
3737
"moment": "^2.29.1",
3838
"react": "^17.0.2",
39-
"react-app-rewire-hot-loader": "^2.0.1",
40-
"react-app-rewired": "^2.1.6",
4139
"react-async-hook": "^3.6.1",
4240
"react-chartjs-2": "^2.9.0",
4341
"react-codemirror2": "^7.1.0",
@@ -48,7 +46,6 @@
4846
"react-moment": "^1.1.1",
4947
"react-redux": "^7.1.3",
5048
"react-router-dom": "^5.1.2",
51-
"react-scripts": "4.0.3",
5249
"react-virtualized": "^9.22.2",
5350
"react-window-infinite-loader": "^1.0.5",
5451
"recharts": "^2.1.1",
@@ -83,8 +80,20 @@
8380
},
8481
"proxy": "http://localhost:9090/",
8582
"devDependencies": {
83+
"react-scripts": "4.0.3",
84+
"react-app-rewire-hot-loader": "^2.0.1",
85+
"react-app-rewired": "^2.1.6",
8686
"@types/recharts": "^1.8.22",
8787
"prettier": "2.3.2",
8888
"typescript": "^4.4.3"
89+
},
90+
"resolutions": {
91+
"@types/jest/**/ansi-regex": "^5.0.1",
92+
"react-scripts/**/ansi-regex": "^5.0.1",
93+
"react-scripts/**/nth-check": "^2.0.1",
94+
"react-scripts/**/set-value": "^4.0.1",
95+
"react-scripts/**/immer": "^9.0.6",
96+
"react-scripts/**/glob-parent": "^5.1.2",
97+
"react-scripts/**/browserslist": "^4.16.5"
8998
}
9099
}

0 commit comments

Comments
 (0)