browserstacktunnel-wrapper
Version:
A Node.js wrapper for the BrowserStack java tunnel client
28 lines (25 loc) • 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']);
};