wiki-plugin-diag
Version:
Federated Wiki - Diag Plugin
29 lines (23 loc) • 553 B
JavaScript
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-git-authors');
grunt.initConfig({
mochaTest: {
test: {
options: {
reporter: 'spec'
},
src: ['test/**/*.js']
}
},
watch: {
all: {
files: ['client/*.js', 'test/*.js', 'server/*.js'],
tasks: ['mochaTest']
}
}
});
grunt.registerTask('build', ['mochaTest']);
grunt.registerTask('default', ['build']);
};