mailtrain/Gruntfile.js

23 lines
510 B
JavaScript
Raw Normal View History

2016-04-04 12:36:30 +00:00
'use strict';
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
eslint: {
2016-08-29 10:57:27 +00:00
all: ['lib/**/*.js', 'test/**/*.js', 'config/**/*.js', 'Gruntfile.js', 'app.js', 'index.js']
2016-04-04 12:36:30 +00:00
},
nodeunit: {
all: ['test/**/*-test.js']
}
});
// Load the plugin(s)
grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
// Tasks
grunt.registerTask('default', ['eslint', 'nodeunit']);
};