mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-31 04:33:09 +08:00
27 lines
658 B
JavaScript
27 lines
658 B
JavaScript
'use strict';
|
|
|
|
module.exports = function (grunt) {
|
|
|
|
// Project configuration.
|
|
grunt.initConfig({
|
|
eslint: {
|
|
all: ['lib/**/*.js', 'imap-core/**/*.js', 'test/**/*.js', 'examples/**/*.js', 'Gruntfile.js']
|
|
},
|
|
|
|
mochaTest: {
|
|
all: {
|
|
options: {
|
|
reporter: 'spec'
|
|
},
|
|
src: ['test/**/*-test.js', 'imap-core/test/**/*-test.js']
|
|
}
|
|
}
|
|
});
|
|
|
|
// Load the plugin(s)
|
|
grunt.loadNpmTasks('grunt-eslint');
|
|
grunt.loadNpmTasks('grunt-mocha-test');
|
|
|
|
// Tasks
|
|
grunt.registerTask('default', ['eslint', 'mochaTest']);
|
|
};
|