mailtrain/Gruntfile.js
Andris Reinman 896fc01015 v1.16.0
2016-08-29 13:57:27 +03:00

22 lines
510 B
JavaScript

'use strict';
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
eslint: {
all: ['lib/**/*.js', 'test/**/*.js', 'config/**/*.js', 'Gruntfile.js', 'app.js', 'index.js']
},
nodeunit: {
all: ['test/**/*-test.js']
}
});
// Load the plugin(s)
grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
// Tasks
grunt.registerTask('default', ['eslint', 'nodeunit']);
};