Skip to content

Commit 2c0e54b

Browse files
committed
update dependencies for C14
1 parent 1ae859d commit 2c0e54b

File tree

2 files changed

+40
-3
lines changed

2 files changed

+40
-3
lines changed

.eslintrc.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parser": "babel-eslint",
3+
"env": {
4+
"browser": true,
5+
"es2021": true,
6+
"node": true,
7+
"jest/globals": true
8+
},
9+
"extends": ["react-app", "plugin:jest/recommended"],
10+
"parserOptions": {
11+
"ecmaVersion": 12,
12+
"sourceType": "module"
13+
},
14+
"plugins": ["jest"],
15+
"rules": {
16+
"no-unused-vars": "warn",
17+
"no-var": "warn",
18+
"no-console": "off",
19+
"func-names": "off",
20+
"comma-dangle": ["warn", "only-multiline"],
21+
"quotes": [
22+
"error",
23+
"single",
24+
{ "allowTemplateLiterals": true, "avoidEscape": true }
25+
],
26+
"camelcase": "error"
27+
}
28+
}

package.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,25 @@
33
"version": "0.1.1",
44
"private": true,
55
"dependencies": {
6-
"react": "^16.13.1",
7-
"react-dom": "^16.13.1",
8-
"react-scripts": "3.4.1"
6+
"react": "^17.0.1",
7+
"react-dom": "^17.0.1",
8+
"react-scripts": "4.0.1"
9+
},
10+
"devDependencies": {
11+
"gh-pages": "^3.1.0",
12+
"@testing-library/jest-dom": "^5.11.6",
13+
"@testing-library/react": "^11.2.2",
14+
"@testing-library/user-event": "^12.5.0"
915
},
1016
"scripts": {
1117
"start": "PORT=3001 react-scripts start",
1218
"build": "react-scripts build",
1319
"test": "react-scripts test --env=jsdom",
1420
"eject": "react-scripts eject"
1521
},
22+
"eslintConfig": {
23+
"extends": "react-app"
24+
},
1625
"browserslist": {
1726
"production": [
1827
">0.2%",

0 commit comments

Comments
 (0)