omniacare
Version:
CHR OmniaCare API SDK for NodeJS
44 lines (39 loc) • 973 B
JavaScript
module.exports = function(grunt) {
"use strict";
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
all: {
src: ['lib/*.js', 'lib/resources/*.js'],
options: {
jshintrc: '.jshintrc'
}
}
},
simplemocha: {
options: {
timeout: 15000,
reporter: 'dot'
},
all: {
src: 'test/*.js'
}
},
jsdoc: {
dist: {
src: ['lib/*'],
jdoc: './node_modules/.bin/jsdoc',
options: {
destination: 'docs/jsdoc/',
configure: './node_modules/ink-docstrap/template/jsdoc.conf.json',
template: './node_modules/ink-docstrap/template'
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-simple-mocha');
grunt.loadNpmTasks('grunt-jsdoc');
grunt.registerTask('test', ['simplemocha']);
grunt.registerTask('default', ['jshint','simplemocha']);
};