Skip to content

Commit 712ec68

Browse files
authored
Merge pull request #539 from evcohen/upgrade-dependencies
(chore) - upgrade and simplify dev dependencies.
2 parents bc1a304 + bc3e08c commit 712ec68

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

.babelrc

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
2-
"presets": ["es2015"],
3-
"plugins": [
4-
"transform-object-rest-spread",
5-
"transform-flow-strip-types",
6-
]
2+
"presets": [
3+
[
4+
"airbnb",
5+
{
6+
"targets": {
7+
"node": 4
8+
}
9+
}
10+
]
11+
],
12+
"plugins": ["@babel/plugin-transform-flow-strip-types"]
713
}

package.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,25 @@
3030
"jest": "jest --coverage __tests__/**/*"
3131
},
3232
"devDependencies": {
33-
"babel-cli": "^6.26.0",
34-
"babel-core": "^6.26.3",
35-
"babel-eslint": "^8.2.5",
36-
"babel-jest": "^21.2.0",
37-
"babel-plugin-transform-es2015-template-literals": "^6.22.0",
38-
"babel-plugin-transform-flow-strip-types": "^6.22.0",
39-
"babel-plugin-transform-object-rest-spread": "^6.26.0",
40-
"babel-polyfill": "^6.26.0",
41-
"babel-preset-es2015": "^6.24.1",
33+
"@babel/core": "^7.0.0",
34+
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
35+
"babel-eslint": "^10.0.1",
36+
"babel-jest": "^24.0.0",
37+
"babel-preset-airbnb": "^3.2.0",
4238
"coveralls": "^3.0.1",
4339
"eslint": "^5.15.2",
4440
"eslint-config-airbnb-base": "^13.0.0",
4541
"eslint-plugin-flowtype": "^3.5.0",
46-
"eslint-plugin-import": "^2.13.0",
42+
"eslint-plugin-import": "^2.16.0",
4743
"estraverse": "^4.2.0",
4844
"expect": "^24.3.1",
4945
"flow-bin": "^0.99.0",
5046
"in-publish": "^2.0.0",
51-
"jest": "^21.2.1",
47+
"jest": "^24.0.0",
5248
"jscodeshift": "^0.6.0",
5349
"minimist": "^1.2.0",
5450
"object.assign": "^4.1.0",
55-
"rimraf": "^2.6.2",
51+
"rimraf": "^2.6.3",
5652
"safe-publish-latest": "^1.1.1",
5753
"to-ast": "^1.0.0"
5854
},

0 commit comments

Comments
 (0)