Skip to content

Commit

Permalink
feat(package): update to Babel 7 (beta) (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Jan 19, 2018
1 parent 4be2807 commit 7a99aa1
Show file tree
Hide file tree
Showing 4 changed files with 612 additions and 485 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"presets": [
["env", {"targets": {"node": "6"}}]
["@babel/preset-env", {"targets": {"node": "6"}}]
],
"plugins": [
"transform-object-rest-spread"
"@babel/plugin-proposal-object-rest-spread"
],
"env": {
"test": {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
"yargs": "^10.1.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"@babel/cli": "^7.0.0-beta.37",
"@babel/core": "^7.0.0-beta.37",
"@babel/preset-env": "^7.0.0-beta.37",
"@babel/register": "^7.0.0-beta.37",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"mocha": "^4.1.0",
"nyc": "^11.4.1"
},
Expand Down
2 changes: 1 addition & 1 deletion test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--require babel-register
--require @babel/register
--ui tdd
--slow 500
--timeout 5000
Expand Down
Loading

0 comments on commit 7a99aa1

Please sign in to comment.