mailtrain/Gruntfile.js
2016-04-04 15:36:30 +03:00

22 lines
526 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', '.eslintrc.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']);
};