grunt-blanket
Version:
Instruments files with Blanket.js
56 lines (39 loc) • 890 B
JavaScript
/*
* grunt-blanket
* https://github.com/alex-seville/grunt-blanket
*
* Copyright (c) 2013 alex-seville
* Licensed under the MIT license.
*/
;
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'tasks/*.js',
],
options: {
jshintrc: '.jshintrc',
},
},
// Configuration to be run (and then tested).
blanket: {
instrument: {
options: {
debug: true
},
files: {
'cov/': ['tasks/'],
},
}
},
});
// Actually load this plugin's task(s).
grunt.loadTasks('tasks');
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-jshint');
// By default, lint and run all tests.
grunt.registerTask('default', ['jshint','blanket']);
};