Skip to content

Commit 9c626e3

Browse files
committed
Upgrade packages
1 parent 101e93a commit 9c626e3

File tree

5 files changed

+2417
-1993
lines changed

5 files changed

+2417
-1993
lines changed

.babelrc

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"presets": [
3-
"es2015",
4-
"react",
5-
"stage-1"
3+
"@babel/preset-env",
4+
"@babel/preset-react"
65
],
76
"plugins": [
87
"rewire"

.eslintrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,10 @@
1818
2,
1919
"never"
2020
]
21+
},
22+
"settings": {
23+
"react": {
24+
"version": "16.0"
25+
}
2126
}
22-
}
27+
}

.jestrc renamed to .jestrc.json

File renamed without changes.

package.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build:umd:min": "NODE_ENV=production webpack -p src/index.js umd/ConnectedReactRouter.min.js",
2020
"build": "npm run build:commonjs & npm run build:umd & npm run build:umd:min",
2121
"lint": "eslint .",
22-
"test": "jest --config ./.jestrc",
22+
"test": "jest --config ./.jestrc.json",
2323
"test:watch": "npm run test -- --watch",
2424
"posttest": "npm run lint"
2525
},
@@ -35,25 +35,25 @@
3535
"redux": "^3.6.0 || ^4.0.0"
3636
},
3737
"devDependencies": {
38+
"@babel/cli": "^7.1.5",
39+
"@babel/core": "^7.1.5",
40+
"@babel/preset-env": "^7.1.5",
41+
"@babel/preset-react": "^7.0.0",
3842
"@types/history": "^4.5.0",
3943
"@types/react": "*",
40-
"babel-cli": "^6.18.0",
41-
"babel-core": "^6.20.0",
42-
"babel-eslint": "^7.1.1",
43-
"babel-jest": "^17.0.2",
44-
"babel-loader": "^6.3.1",
45-
"babel-plugin-rewire": "^1.0.0",
46-
"babel-preset-es2015": "^6.18.0",
47-
"babel-preset-react": "^6.16.0",
48-
"babel-preset-stage-1": "^6.16.0",
44+
"babel-core": "7.0.0-bridge.0",
45+
"babel-eslint": "^10.0.1",
46+
"babel-jest": "^23.6.0",
47+
"babel-loader": "^8.0.4",
48+
"babel-plugin-rewire": "^1.2.0",
4949
"babel-template": "^6.2.0",
5050
"babel-types": "^6.2.0",
5151
"enzyme": "3.1.1",
5252
"enzyme-adapter-react-16": "^1.0.4",
53-
"eslint": "^3.12.0",
54-
"eslint-plugin-import": "^2.2.0",
55-
"eslint-plugin-react": "^6.8.0",
56-
"jest": "^17.0.2",
53+
"eslint": "^5.9.0",
54+
"eslint-plugin-import": "^2.14.0",
55+
"eslint-plugin-react": "^7.11.1",
56+
"jest": "^23.6.0",
5757
"prop-types": "^15.5.8",
5858
"raf": "^3.4.0",
5959
"react": "^16.0.0",

0 commit comments

Comments
 (0)