Gruntfile.js 938 Bytes
/* global module */

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

    var config = {};
    config.jshint = {
        options: {
        },
        browserOptions: {
        },
        model: [
            'src/scripts/solr/model/**/*.js',
        ],
    };
    /*
    config.punch = {
    };
    config.css = {
        options: {
            dirs: [
                'css',
            ]
        },
    };
    config.images = {
        options: {
            base: 'src',
            dirs: ['media'],
        },
    };
    */
    config.useRev = true;
    config.bower = {
        directory: 'lib/bower',
    };
    /*
    config.modules = [
        {
            name: 'main',
        },
    ];
    */
    config.uglify = {
        mangle: true,
        beautify: false,
        compress: true,
    };

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