<commit_before>/**
 * NOTE: This file must only use node v0.12 features + ES modules.
 */

import babel from 'rollup-plugin-babel';
import json from 'rollup-plugin-json';
import babelrc from 'babelrc-rollup';

const pkg = require('./package.json');
const external = Object.keys(pkg.dependencies).concat(['path', 'fs']);

export default {
  entry: 'src/index.js',
  plugins: [
    json(),
    babel(babelrc())
  ],
  external: external,
  targets: [
    {
      format: 'cjs',
      dest: pkg['main']
    },
    {
      format: 'es6',
      dest: pkg['jsnext:main']
    }
  ]
};<commit_msg>Use `var` instead of `const` for node 0.12 support.<commit_after>/**
 * NOTE: This file must only use node v0.12 features + ES modules.
 */

import babel from 'rollup-plugin-babel';
import json from 'rollup-plugin-json';
import babelrc from 'babelrc-rollup';

var pkg = require('./package.json');
var external = Object.keys(pkg.dependencies).concat(['path', 'fs']);

export default {
  entry: 'src/index.js',
  plugins: [
    json(),
    babel(babelrc())
  ],
  external: external,
  targets: [
    {
      format: 'cjs',
      dest: pkg['main']
    },
    {
      format: 'es6',
      dest: pkg['jsnext:main']
    }
  ]
};
{'fraction_non_alphanumeric': 0.1716171617161716, 'fraction_numerical': 0.009075907590759076, 'mean_word_length': 3.0299003322259135, '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': '1825978', 'n_tokens_mistral': 429, 'n_tokens_neox': 408, 'n_words': 106}