{"size": 1908, "ext": "js", "max_stars_repo_path": "Gruntfile.js", "max_stars_repo_name": "syntaxtsb/plastick.js", "max_stars_repo_stars_event_min_datetime": "2015-12-07T02:41:20.000Z", "max_stars_repo_stars_event_max_datetime": "2015-12-07T02:41:20.000Z", "max_issues_repo_path": "Gruntfile.js", "max_issues_repo_name": "syntaxtsb/plastick.js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Gruntfile.js", "max_forks_repo_name": "syntaxtsb/plastick.js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.3538461538, "max_line_length": 276, "alphanum_fraction": 0.3658280922}
module.exports = function (grunt) {

    'use strict';

    require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        jshint: {
            target: {
                src: ['plastick.js']
                /*directives: {
                    nomen: true,
                    globals: {
                        'document': true,
                        'define': true,
                        'module': true,
                        'require': true,
                        'window': true
                    }
                }*/
            }
        },
        uglify: {
            target: {
                options: {
                    mangle: true,
                    report: 'gzip',
                    banner: '/*!\n * <%= pkg.name %> v<%= pkg.version %> <%= grunt.template.today("isoDateTime") %>\n * https://github.com/syntaxtsb/plastick.js\n * \n * Copyright (c) <%= grunt.template.today("yyyy") %> Travis Beebe\n * Released under the MIT license.\n */\n'
                },
                files: {
                    'plastick.min.js': ['plastick.js']
                }
            }
        },
        doxdox: {
            dev: {
                inputs: ['plastick.js'],
                output: 'docs/index.html',
                config: {
                    layout: 'bootstrap'
                }
            }
        },
        jasmine: {
            test: {
                src: 'plastick.min.js',
                options: {
                    specs: 'tests/*.js'
                }
            }
        },
        watch: {
            default: {
                files: ['plastick.js'],
                tasks: ['jshint', 'uglify', 'doxdox']
            }
        }
    });

    grunt.registerTask('default', [ 'jshint', 'uglify', 'doxdox' ]);
    grunt.registerTask('test', [ 'jasmine' ]);

};
