You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

55 lines
1010 B

/*
* grunt-bower-task
* https://github.com/yatskevich/grunt-bower-task
*
* Copyright (c) 2012 Ivan Yatskevich
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
jshint: {
all: [ 'Gruntfile.js', 'tasks/**/*.js', 'test/**/*_test.js' ],
options: {
jshintrc: '.jshintrc'
}
},
bower: {
install: {
options: {
cleanTargetDir: true,
cleanBowerDir: true,
install: true,
copy: true
}
},
cleanup: {
options: {
cleanTargetDir: true,
cleanBowerDir: true,
install: false,
copy: false
}
}
},
nodeunit: {
tests: ['test/*_test.js']
}
});
grunt.loadTasks('tasks');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
grunt.registerTask('test', ['jshint', 'nodeunit']);
grunt.registerTask('default', ['test']);
};