<commit_before>module.exports = (grunt) ->

    grunt.initConfig

        pkg: grunt.file.readJSON('package.json')

        meta:
            banner: '/*! <%= pkg.name %> <%= pkg.version %> | (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %> | <%= pkg.license %> License */\n'

        coffee:
            compile:
                files:
                    'lib/LibroIpsum.js' : 'src/LibroIpsum.coffee'

        concat:
            options:
                banner: '<%= meta.banner %>'
            dist:
                src: ['lib/LibroIpsum.js']
                dest: 'lib/LibroIpsum.js'

        uglify:
            options:
                banner: '<%= meta.banner %>'
            dist:
                files:
                    'lib/LibroIpsum.min.js': ['lib/LibroIpsum.js']

        watch:
            files: 'src/LibroIpsum.coffee'
            tasks: ['compile']

        docco:
            debug:
                src: ['lib/LibroIpsum.js']
                dest: 'docs/'

    grunt.loadNpmTasks 'grunt-contrib-coffee'
    grunt.loadNpmTasks 'grunt-contrib-concat'
    grunt.loadNpmTasks 'grunt-contrib-uglify'
    grunt.loadNpmTasks 'grunt-contrib-watch'
    grunt.loadNpmTasks 'grunt-docco'

    grunt.registerTask 'compile', ['coffee', 'concat']
    grunt.registerTask 'default', ['compile', 'watch']
    grunt.registerTask 'release', ['compile', 'uglify', 'docco']<commit_msg>Minify and generate docco as part of default watch task<commit_after>module.exports = (grunt) ->

    grunt.initConfig

        pkg: grunt.file.readJSON('package.json')

        meta:
            banner: '/*! <%= pkg.name %> <%= pkg.version %> | (c) <%= grunt.template.today("yyyy") %> <%= pkg.author %> | <%= pkg.license %> License */\n'

        coffee:
            compile:
                files:
                    'lib/LibroIpsum.js' : 'src/LibroIpsum.coffee'

        concat:
            options:
                banner: '<%= meta.banner %>'
            dist:
                src: ['lib/LibroIpsum.js']
                dest: 'lib/LibroIpsum.js'

        uglify:
            options:
                banner: '<%= meta.banner %>'
            dist:
                files:
                    'lib/LibroIpsum.min.js': ['lib/LibroIpsum.js']

        watch:
            files: 'src/LibroIpsum.coffee'
            tasks: ['compile']

        docco:
            debug:
                src: ['lib/LibroIpsum.js']
                dest: 'docs/'

    grunt.loadNpmTasks 'grunt-contrib-coffee'
    grunt.loadNpmTasks 'grunt-contrib-concat'
    grunt.loadNpmTasks 'grunt-contrib-uglify'
    grunt.loadNpmTasks 'grunt-contrib-watch'
    grunt.loadNpmTasks 'grunt-docco'

    grunt.registerTask 'compile', ['coffee', 'concat', 'uglify', 'docco']
    grunt.registerTask 'default', ['compile', 'watch']
{'fraction_non_alphanumeric': 0.14931801866475233, 'fraction_numerical': 0.0, 'mean_word_length': 1.6746641074856046, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1496910', 'n_tokens_mistral': 981, 'n_tokens_neox': 884, 'n_words': 147}