?? ??: ? React ?? ????? ?? 'react-app' ???? ??? ? ????.
P粉463291248
2023-08-13 20:07:00
<p>React ?? ???? ??? ?? ??? ?????. </p>
<p>[eslint] ??? ?? 'react-app' ??? ??? ? ????. </p>
<p>??? ? React ? ??????? package.json ?????: </p>
<pre class="brush:php;toolbar:false;">{
"??": "???-????",
"??": "0.1.0",
"???": ??,
"???": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"??": "^18.2.0",
"?? ?": "^18.2.0",
"react-scripts": "5.0.1",
"? ???": "^2.1.4"
},
"????": {
"start": "?? ???? ??",
"build": "?? ???? ??",
"test": "?? ???? ???",
"eject": "?? ???? ???"
},
"eslintConfig": {
"??": [
"?? ?",
"?? ?/???"
]
},
"???? ??": {
"??": [
">0.2%",
"?? ???",
"op_mini? ??? ????"
],
"??": [
"??? 1 ?? ??",
"??? 1?? Firefox ??",
"??? 1 ??? ??"
]
},
"devDependency": {
"eslint-config-react": "^1.1.7"
}
}</pre>
<p>? ??? ???? ? ??? ? ? ?? ??? ???? </p>