<commit_before>import babel from 'rollup-plugin-babel';
import babelrc from 'babelrc-rollup';

var pkg = require('./package.json');
var external = Object.keys(pkg.dependencies);

export default {
  entry: 'src/parser.js',
  plugins: [babel(babelrc())],
  external: external,
  targets: [
    {
      dest: pkg['main'],
      format: 'umd',
      moduleName: 'decaffeinate.parser',
      globals: {
        'coffee-script': 'CoffeeScript'
      }
    },
    {
      dest: pkg['jsnext:main'],
      format: 'es6'
    }
  ]
};<commit_msg>chore(build): use the new format name 'es' instead of 'es6'<commit_after>import babel from 'rollup-plugin-babel';
import babelrc from 'babelrc-rollup';

var pkg = require('./package.json');
var external = Object.keys(pkg.dependencies);

export default {
  entry: 'src/parser.js',
  plugins: [babel(babelrc())],
  external: external,
  targets: [
    {
      dest: pkg['main'],
      format: 'umd',
      moduleName: 'decaffeinate.parser',
      globals: {
        'coffee-script': 'CoffeeScript'
      }
    },
    {
      dest: pkg['jsnext:main'],
      format: 'es'
    }
  ]
};
{'fraction_non_alphanumeric': 0.16412556053811658, 'fraction_numerical': 0.0017937219730941704, 'mean_word_length': 2.9295774647887325, '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': '1951248', 'n_tokens_mistral': 398, 'n_tokens_neox': 377, 'n_words': 81}