Sha256: 90f3ab97b7f9ba56148472b1d3f16dfd5bec39a7a7757a17dd3daa6ad1b82496

Contents?: true

Size: 1.65 KB

Versions: 62

Compression:

Stored size: 1.65 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

62 entries across 62 versions & 1 rubygems

Version Path
trusty-festivity-extension-2.6.3 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.6.2 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.6.1 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.6 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.19 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.18 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.17 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.16 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.15 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.14 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.13 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.12 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.11 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.10 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.9 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.8 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.7 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.6 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.5 node_modules/bower/node_modules/decompress-zip/Gruntfile.js
trusty-festivity-extension-2.5.4 node_modules/bower/node_modules/decompress-zip/Gruntfile.js