<commit_before>/*jshint unused:true, -W097*/
/*global module, require*/

"use strict";

module.exports = function (grunt) {
    require("load-grunt-tasks")(grunt); // npm install --save-dev load-grunt-tasks

    grunt.initConfig({

        pkg: grunt.file.readJSON("package.json"),

        copy: {
            eslint: {
                files: [
                    {
                        expand: false,
                        flatten: true,
                        src: "eslint/build/eslint.js",
                        dest: "eslint.js",
                        filter: "isFile"
                    }
                ]
            },
            yaml: {
                files: [
                    {
                        expand: false,
                        flatten: true,
                        src: "js-yaml/dist/js-yaml.js",
                        dest: "js-yaml.js",
                        filter: "isFile"
                    }
                ]
            }
        },

        zip: {
            main: {
                dest: "<%= pkg.name %>.zip",
                src: [
                    "LICENSE",
                    "*.js",
                    "*.json"
                ]<commit_msg>update package building to include eslint<commit_after>/*jshint unused:true, -W097*/
/*global module, require*/

"use strict";

module.exports = function (grunt) {
    require("load-grunt-tasks")(grunt); // npm install --save-dev load-grunt-tasks

    grunt.initConfig({

        pkg: grunt.file.readJSON("package.json"),

        copy: {
            eslint: {
                files: [
                    {
                        expand: false,
                        flatten: true,
                        src: "eslint/build/eslint.js",
                        dest: "eslint.js",
                        filter: "isFile"
                    }
                ]
            },
            yaml: {
                files: [
                    {
                        expand: false,
                        flatten: true,
                        src: "js-yaml/dist/js-yaml.js",
                        dest: "js-yaml.js",
                        filter: "isFile"
                    }
                ]
            }
        },

        zip: {
            main: {
                dest: "<%= pkg.name %>.zip",
                src: [
                    "LICENSE",
                    "*.js",
                    "*.json",
                    "node_modules/eslint/**/*"
                ]
{'fraction_non_alphanumeric': 0.118, 'fraction_numerical': 0.0024, 'mean_word_length': 0.7343966712898752, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1140630', 'n_tokens_mistral': 676, 'n_tokens_neox': 603, 'n_words': 112}