Sha256: 9e2d4a6017b981d3f1519ae9fe0ab741b3bffaaff806dab815532d1255e8090f
Contents?: true
Size: 1.19 KB
Versions: 69
Compression:
Stored size: 1.19 KB
Contents
module.exports = function (grunt) { 'use strict'; grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-simple-mocha'); // Project configuration. grunt.initConfig({ jshint: { files: [ 'Gruntfile.js', 'lib/**/*.js', 'test/**/*.js' ], options: { jshintrc: '.jshintrc' } }, simplemocha: { options: { reporter: 'spec' }, full: { src: ['test/test.js'] }, short: { options: { reporter: 'dot' }, src: ['test/test.js'] }, build: { options: { reporter: 'tap' }, src: ['test/test.js'] } }, watch: { files: ['<%= jshint.files %>'], tasks: ['jshint', 'simplemocha:short'] } }); // Default task. grunt.registerTask('test', ['simplemocha:full']); grunt.registerTask('default', ['jshint', 'test']); };
Version data entries
69 entries across 69 versions & 2 rubygems