<commit_before>module.exports = function(grunt) {

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        concat: {
            options: {
                separator: '\n'
            },
            dist: {
                src: [
                    "src/cli_header.js",
                    "src/class_system.js",
                    "src/datatypes.js",
                    "src/util.js",
                    "src/head.js",
                    "src/geometry.js",
                    "src/feature.js",
                    "src/dumpers.js",
                    "src/parser.js",
                    "src/cli.js"
                ],
                dest: 'dist/<%= pkg.name %>.js'
            },
            lite: {
                src: [
                    "src/class_system.js",
                    "src/util.js",
                    "src/head.js",
                    "src/geometry.js",
                    "src/feature.js",
                    "src/dumpers.js",
                    "src/parser.js"
                ],
                dest: 'dist/<%= pkg.name %>_lite.js'
            }
        },
        uglify: {
            options: {
                banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
            },
            dist: {
                files: {
                    'dist/<%= pkg.name %>.min.js': ['<%= concat.dist.dest %>']<commit_msg>add cli support to sosi_lite<commit_after>module.exports = function(grunt) {

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        concat: {
            options: {
                separator: '\n'
            },
            dist: {
                src: [
                    "src/cli_header.js",
                    "src/class_system.js",
                    "src/datatypes.js",
                    "src/util.js",
                    "src/head.js",
                    "src/geometry.js",
                    "src/feature.js",
                    "src/dumpers.js",
                    "src/parser.js",
                    "src/cli.js"
                ],
                dest: 'dist/<%= pkg.name %>.js'
            },
            lite: {
                src: [
                    "src/cli_header.js",
                    "src/class_system.js",
                    "src/util.js",
                    "src/head.js",
                    "src/geometry.js",
                    "src/feature.js",
                    "src/dumpers.js",
                    "src/parser.js",
                    "src/cli.js"
                ],
                dest: 'dist/<%= pkg.name %>_lite.js'
            }
        },
        uglify: {
            options: {
                banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
            },
            dist: {
                files: {
                    'dist/<%= pkg.name %>.min.js': ['<%= concat.dist.dest %>']
{'fraction_non_alphanumeric': 0.15044858523119392, 'fraction_numerical': 0.0, 'mean_word_length': 0.7906114885731933, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '594817', 'n_tokens_mistral': 888, 'n_tokens_neox': 784, 'n_words': 106}