lix-website/themes/lix/assets/bootstrap/node_modules/browserstacktunnel-wrapper/Gruntfile.js
2024-04-26 22:49:34 -06:00

28 lines
759 B
JavaScript

module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
files: ['src/**/*.js', 'test/src/**/*.js'],
options: grunt.file.readJSON('./.jshintrc')
},
mochaTest: {
test: {
options: {
reporter: 'spec'
},
src: ['test/src/**/*.js']
}
},
watch: {
files: ['grunt.js', 'src/**/*.js', 'test/src/**/*.js'],
tasks: ['default']
}
});
grunt.loadNpmTasks('grunt-mocha-test');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['jshint', 'mochaTest']);
};