task-wrap
Version:
A node-task to wrap input Records with arbitrary text.
41 lines (36 loc) • 764 B
JavaScript
/*
* task-wrap
* http://github.com/node-task/task-wrap
*
* Copyright (c) 2013 Tyler Kellen, contributors
* Licensed under the MIT license.
*/
;
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'lib/*.js'
],
options: {
jshintrc: '.jshintrc'
}
},
nodeunit: {
all: ['test/**/*.js']
},
watch: {
files: [
'lib/**/*',
'test/**/*'
],
tasks: ['test']
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
grunt.registerTask('test', ['jshint', 'nodeunit']);
grunt.registerTask('default', ['test']);
};