Sha256: 564deebc3eb64fa7af0f9af73aa0ce0cbcfa6415529e5ec4b590cf12ce34b344

Contents?: true

Size: 1.4 KB

Versions: 7

Compression:

Stored size: 1.4 KB

Contents

'use strict';

module.exports = function (grunt) {
    grunt.initConfig({
        jshint: {
            options: {
                jshintrc: '.jshintrc'
            },
            files: ['Gruntfile.js', 'bin/*', 'lib/**/*.js', 'test/*.js']
        },
        simplemocha: {
            options: {
                reporter: 'spec',
                timeout: '5000'
            },
            full: { src: ['test/*.js'] },
            short: {
                options: {
                    reporter: 'dot'
                },
                src: ['<%= simplemocha.full.src %>']
            }
        },
        exec: {
            coverage: {
                command: 'node node_modules/istanbul/lib/cli.js cover --dir ./coverage node_modules/mocha/bin/_mocha -- -R dot test/*.js'
            },
            'test-files': {
                command: 'node download-test-assets.js'
            }
        },
        watch: {
            files: ['<%= jshint.files %>'],
            tasks: ['jshint', 'simplemocha:short']
        }
    });

    grunt.loadNpmTasks('grunt-contrib-jshint');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-simple-mocha');
    grunt.loadNpmTasks('grunt-exec');

    grunt.registerTask('test', ['jshint', 'simplemocha:full']);
    grunt.registerTask('coverage', 'exec:coverage');
    grunt.registerTask('test-files', 'exec:test-files');
    grunt.registerTask('default', 'test');
};

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/decompress-zip/Gruntfile.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/decompress-zip/Gruntfile.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/decompress-zip/Gruntfile.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/decompress-zip/Gruntfile.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/decompress-zip/Gruntfile.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/decompress-zip/Gruntfile.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/decompress-zip/Gruntfile.js