From 7a35404ae1536e7594552486d511702dbb7e6341 Mon Sep 17 00:00:00 2001 From: Aaron Jensen Date: Wed, 26 Aug 2015 19:45:12 -0700 Subject: [PATCH] Add wallaby.js support, holy crap --- package.json | 1 + wallaby.conf.js | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 wallaby.conf.js 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', + }, + }; +};