<commit_before>/*
 * Copyright 2013, All Rights Reserved.
 *
 * Code licensed under the BSD License:
 * https://github.com/eduardolundgren/liferay-ui-docs/blob/master/LICENSE.md
 *
 * @author <NAME> <<EMAIL>>
 */

'use strict';

module.exports = function(grunt) {

    grunt.initConfig({
        bump: {
            options: {
                commit: true,
                commitFiles: ['package.json'],
                commitMessage: 'Release v%VERSION%',
                createTag: true,
                files: ['package.json'],
                push: true,
                pushTo: 'origin',
                tagMessage: '',
                tagName: 'v%VERSION%'
            }
        },

        clean: {
            images: ['dest']
        },

        copy: {
            images: {
                expand: true,
                src: ['src/**/images/**'],
                dest: 'dest'
            }
        },

        markdown: {
            alloy: {
                options: {
                    src: ['src/**/*.md']
                }
            }
        },

        watch: {
            files: [
                'Gruntfile.js',
                '<%= markdown.alloy.options.src %>',
                '<%= copy.images.src %>'
            ],
            tasks: ['default']
        }
    });

    grunt.task.loadTasks('tasks');

    grunt.loadNpmTasks('grunt-bump');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-watch');

    grunt.registerTask('default', ['clean', 'copy', 'markdown']);

};<commit_msg>Format generated HTML code<commit_after>/*
 * Copyright 2013, All Rights Reserved.
 *
 * Code licensed under the BSD License:
 * https://github.com/eduardolundgren/liferay-ui-docs/blob/master/LICENSE.md
 *
 * @author <NAME> <<EMAIL>>
 */

'use strict';

module.exports = function(grunt) {

    grunt.initConfig({
        bump: {
            options: {
                commit: true,
                commitFiles: ['package.json'],
                commitMessage: 'Release v%VERSION%',
                createTag: true,
                files: ['package.json'],
                push: true,
                pushTo: 'origin',
                tagMessage: '',
                tagName: 'v%VERSION%'
            }
        },

        clean: {
            images: ['dest']
        },

        copy: {
            images: {
                expand: true,
                src: ['src/**/images/**'],
                dest: 'dest'
            }
        },

        jsbeautifier: {
            files: ['dest/**/*.html'],
            options: {
                html: {
                    indentChar: ' ',
                    indentSize: 2,
                    preserveNewlines: false
                }
            }
        },

        markdown: {
            alloy: {
                options: {
                    src: ['src/**/*.md']
                }
            }
        },

        watch: {
            files: [
                'Gruntfile.js',
                '<%= markdown.alloy.options.src %>',
                '<%= copy.images.src %>'
            ],
            tasks: ['default']
        }
    });

    grunt.task.loadTasks('tasks');

    grunt.loadNpmTasks('grunt-bump');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-jsbeautifier');

    grunt.registerTask('default', ['clean', 'copy', 'markdown', 'jsbeautifier']);

};
{'fraction_non_alphanumeric': 0.14885171533881486, 'fraction_numerical': 0.0025517436915225406, 'mean_word_length': 1.2528735632183907, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, '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': '5722577', 'n_tokens_mistral': 1044, 'n_tokens_neox': 978, 'n_words': 161}