UNPKG

@johnqh/haraka

Version:

Haraka plugin for processing incoming messages for the WildDuck IMAP server

27 lines (23 loc) 643 B
'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ eslint: { all: ['index.js', 'Gruntfile.js', 'lib/**/*.js', 'test/**/*.js'] }, mochaTest: { test: { options: { reporter: 'spec' }, src: ['test/**/*.test.js'] } } }); // Load the plugin(s) grunt.loadNpmTasks('grunt-eslint'); grunt.loadNpmTasks('grunt-mocha-test'); // Tasks grunt.registerTask('default', ['eslint', 'mochaTest']); grunt.registerTask('test', ['mochaTest']); };