<commit_before>/* eslint-env node */
/* eslint-disable no-process-env, camelcase */
module.exports = function(grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    eslint: {
      options: {
      },
      files: [
        'src/**/*.js',
        'test/**/*.js'
      ]
    },

    clean: ['lib', 'dist'],

    babel: {
      options: {
        loose: ['es6.modules'],
        auxiliaryCommentBefore: 'istanbul ignore next'
      },
      cjs: {
        options: {
          modules: 'common'
        },
        files: [{
          cwd: 'src/',
          expand: true,
          src: '**/*.js',
          dest: 'lib/'
        }]
      }
    },
    webpack: {
      options: {
        context: 'lib/',
        output: {
          path: 'dist/',
          library: 'JsDiff',
          libraryTarget: 'umd'
        }
      },<commit_msg>Include source maps in babel output<commit_after>/* eslint-env node */
/* eslint-disable no-process-env, camelcase */
module.exports = function(grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    eslint: {
      options: {
      },
      files: [
        'src/**/*.js',
        'test/**/*.js'
      ]
    },

    clean: ['lib', 'dist'],

    babel: {
      options: {
        sourceMaps: 'inline',
        loose: ['es6.modules'],
        auxiliaryCommentBefore: 'istanbul ignore next'
      },
      cjs: {
        options: {
          modules: 'common'
        },
        files: [{
          cwd: 'src/',
          expand: true,
          src: '**/*.js',
          dest: 'lib/'
        }]
      }
    },
    webpack: {
      options: {
        context: 'lib/',
        output: {
          path: 'dist/',
          library: 'JsDiff',
          libraryTarget: 'umd'
        }
      },
{'fraction_non_alphanumeric': 0.17023675310033823, 'fraction_numerical': 0.0011273957158962795, 'mean_word_length': 1.385752688172043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4839049', 'n_tokens_mistral': 584, 'n_tokens_neox': 567, 'n_words': 109}