Add wallaby.js support, holy crap

This commit is contained in:
Aaron Jensen 2015-08-26 19:45:12 -07:00
parent 358406f12b
commit 7a35404ae1
2 changed files with 20 additions and 0 deletions

View File

@ -31,6 +31,7 @@
"lodash": "^3.0.0" "lodash": "^3.0.0"
}, },
"devDependencies": { "devDependencies": {
"babel": "^5.8.21",
"babel-core": "^5.5.0", "babel-core": "^5.5.0",
"babel-eslint": "^4.0.5", "babel-eslint": "^4.0.5",
"babel-loader": "^5.3.2", "babel-loader": "^5.3.2",

19
wallaby.conf.js Normal file
View File

@ -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',
},
};
};