diff --git a/package.json b/package.json index 3ee3041..06692ce 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "lodash": "^3.0.0" }, "devDependencies": { + "babel": "^5.8.21", "babel-core": "^5.5.0", "babel-eslint": "^4.0.5", "babel-loader": "^5.3.2", diff --git a/wallaby.conf.js b/wallaby.conf.js new file mode 100644 index 0000000..8ca2b24 --- /dev/null +++ b/wallaby.conf.js @@ -0,0 +1,19 @@ +/*eslint-disable */ +var babel = require('babel'); + +module.exports = function(wallaby) { + return { + files: [ + 'lib/**/*.js', + ], + tests: [ + 'test/**/*-spec.js', + ], + compilers: { + '**/*.js': wallaby.compilers.babel({babel: babel, stage: 1}), + }, + env: { + type: 'node', + }, + }; +};