lix-website/themes/lix/assets/bootstrap/node_modules/browserstacktunnel-wrapper/Gruntfile.js

28 lines
759 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
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']);
};