Skip to content

Commit

Permalink
Run the tests with babel-register instead of coffee-script/register.
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha committed Jan 13, 2016
1 parent 413c423 commit c9abe87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2015"]
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
"url": "http://github.com/estools/estraverse.git"
},
"devDependencies": {
"babel-preset-es2015": "^6.3.13",
"babel-register": "^6.3.13",
"chai": "^2.1.1",
"coffee-script": "^1.8.0",
"espree": "^1.11.0",
"gulp": "^3.8.10",
"gulp-bump": "^0.2.2",
Expand All @@ -34,6 +35,6 @@
"scripts": {
"test": "npm run-script lint && npm run-script unit-test",
"lint": "jshint estraverse.js",
"unit-test": "mocha --compilers coffee:coffee-script/register"
"unit-test": "mocha --compilers js:babel-register"
}
}

0 comments on commit c9abe87

Please sign in to comment.