pos-accumulator
Version:
Builds a parts-of-speech lookup table of collected strings
34 lines (29 loc) • 597 B
JavaScript
module.exports = function(grunt){
'use strict';
grunt.initConfig({
jshint : {
all : {
files : {
src : ['Gruntfile.js', 'index.js', 'test/index.js', 'test/samples.json', 'examples/*.js']
},
options : {
node : true
}
}
},
test : {
options : {
require : ['should'],
ui : 'bdd',
reporter : 'spec'
},
all : {
src : 'test/index.js'
}
}
});
grunt.loadNpmTasks('grunt-cafe-mocha');
grunt.renameTask('cafemocha', 'test');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint', 'test']);
};