Sha256: ca8af956a771044599e5800ebadac4813d83be19f5ea73ed1d28c06cf15dc8c9

Contents?: true

Size: 1.78 KB

Versions: 139

Compression:

Stored size: 1.78 KB

Contents

/*global module */
module.exports = function( grunt ) {
    'use strict';

    grunt.initConfig({
        meta: {
          version: '2.8.3',
          banner: '/*!\n' +
            ' * Modernizr v<%= meta.version %>\n' +
            ' * www.modernizr.com\n *\n' +
            ' * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton\n' +
            ' * Available under the BSD and MIT licenses: www.modernizr.com/license/\n */'
        },
        qunit: {
            files: ['test/index.html']
        },
        lint: {
            files: [
                'grunt.js',
                'modernizr.js',
                'feature-detects/*.js'
            ]
        },
        min: {
            dist: {
                src: [
                    '<banner:meta.banner>',
                    'modernizr.js'
                ],
                dest: 'modernizr.min.js'
            }
        },
        watch: {
            files: '<config:lint.files>',
            tasks: 'lint'
        },
        jshint: {
            options: {
                boss: true,
                browser: true,
                curly: false,
                devel: true,
                eqeqeq: false,
                eqnull: true,
                expr: true,
                evil: true,
                immed: false,
                laxcomma: true,
                newcap: false,
                noarg: true,
                smarttabs: true,
                sub: true,
                undef: true
            },
            globals: {
                Modernizr: true,
                DocumentTouch: true,
                TEST: true,
                SVGFEColorMatrixElement : true,
                Blob: true
            }
        }
    });

    grunt.registerTask('default', 'min');

    // Travis CI task.
    grunt.registerTask('travis', 'qunit');
};

Version data entries

139 entries across 139 versions & 6 rubygems

Version Path
jekyll-theme-pirati-7.7.1 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.7.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.6.2 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.6.1 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.6.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.5.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.4.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.3.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.2.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.1.1 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-7.0.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.9.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.8.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.7.2 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.7.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.6.2 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.6.1 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.6.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.5.0 _sass/foundation-sites/vendor/modernizr/grunt.js
jekyll-theme-pirati-6.4.0 _sass/foundation-sites/vendor/modernizr/grunt.js