Skip to content

Commit

Permalink
Upgrade to Babel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
torifat committed Aug 28, 2018
1 parent 5424d23 commit 86f0c9a
Show file tree
Hide file tree
Showing 3 changed files with 624 additions and 494 deletions.
8 changes: 5 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
"targets": {
"node": "8"
},
"useBuiltIns": "usage",
"loose": true
}
]
],
"plugins": [
["@babel/syntax-object-rest-spread"],
"@babel/syntax-object-rest-spread",
"add-module-exports"
],
"ignore": ["**/__tests__", "**/__fixtures__", "node_modules"]
Expand All @@ -26,12 +27,13 @@
"targets": {
"node": "4"
},
"useBuiltIns": "usage",
"loose": true
}
]
],
"plugins": [
["@babel/syntax-object-rest-spread"],
"@babel/syntax-object-rest-spread",
"@babel/transform-runtime",
"add-module-exports"
],
Expand All @@ -48,7 +50,7 @@
}
]
],
"plugins": [["@babel/syntax-object-rest-spread"]]
"plugins": ["@babel/syntax-object-rest-spread"]
}
}
}
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,27 @@
"typings.d.ts"
],
"dependencies": {
"@babel/code-frame": "^7.0.0-rc.1",
"@babel/runtime": "^7.0.0-rc.1",
"@babel/code-frame": "^7.0.0",
"@babel/runtime": "^7.0.0",
"chalk": "^2.4.1",
"json-to-ast": "^2.0.3",
"jsonpointer": "^4.0.1",
"leven": "^2.1.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0-rc.1",
"@babel/core": "^7.0.0-rc.1",
"@babel/plugin-syntax-object-rest-spread": "^7.0.0-rc.1",
"@babel/plugin-transform-runtime": "^7.0.0-rc.1",
"@babel/preset-env": "^7.0.0-rc.1",
"babel-core": "^7.0.0-0",
"@babel/cli": "^7.0.0",
"@babel/core": "7.0.0",
"@babel/plugin-syntax-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.4.2",
"babel-plugin-add-module-exports": "^0.2.1",
"codecov": "^3.0.4",
"eslint": "^5.4.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-jest": "^21.21.0",
"eslint-plugin-jest": "^21.22.0",
"flow-bin": "^0.79.1",
"husky": "^0.14.3",
"jest": "^23.5.0",
Expand Down
Loading

0 comments on commit 86f0c9a

Please sign in to comment.