Gruntfile.js 1.09 KB
/* global module */

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

    var config = {};
    config.jshint = {
        options: {
            reporter: require('jshint-stylish'),

            esnext: true,
            bitwise: true,
            camelcase: true,
            curly: true,
            eqeqeq: true,
            immed: true,
            indent: 4,
            latedef: true,
            newcap: true,
            noarg: true,
            proto: true,
            quotmark: 'single',
            undef: true,
            unused: 'vars',
            strict: true,
        },
        all: [
            'grunt-monty-python.js',
        ],
        browserOptions: {
        },
    };
    config.jscs = {
        options: {
            validateIndentation: 4,
        },
    };
    config.punch = {
    };
    config.css = {
        options: {
            dirs: ['css'],
        },
    };
    config.bower = {
        directory: 'lib',
    };
    config.useRev = true;

    var montyPython = require('./grunt-monty-python')(grunt);
    montyPython.createConfig(config);
};