Skip to content

Commit

Permalink
Add Babel 7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
tricknotes authored and wavded committed Sep 12, 2018
1 parent 98c39fa commit 66ef09c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .testbabelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015"]
"presets": ["@babel/preset-env"]
}
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: node_js
sudo: false
node_js:
- "5"
- "4"
- "0.12"
- "0.10"
- "10"
- "8"
4 changes: 2 additions & 2 deletions bin/babel-tape-runner
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

require('babel-register')
require('babel-polyfill')
require('@babel/register')
require('@babel/polyfill')
var path = require('path')
var glob = require('glob')

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@
},
"homepage": "https://github.com/wavded/babel-tape-runner",
"dependencies": {
"babel-polyfill": "^6.3.14",
"babel-register": "^6.3.13",
"@babel/core": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/register": "^7.0.0",
"glob": "^6.0.1"
},
"devDependencies": {
"babel-preset-es2015": "^6.3.13",
"@babel/preset-env": "^7.0.0",
"standard": "^5.0.0",
"tape": "^4.0.2"
}
Expand Down

0 comments on commit 66ef09c

Please sign in to comment.