<commit_before>module.exports = (grunt) ->
  grunt.initConfig
    pkg: grunt.file.readJSON('package.json')

    coffee:
      code:
        src: ['src/binary-trunk.coffee']
        dest: 'lib/<%= pkg.name %>.js'
        ext: '.js'
      tests:
        src: ['src/binary-trunk.test.coffee']
        dest: 'lib/<%= pkg.name %>.test.js'
        ext: '.js'

    bump: options:
      files: ['package.json', 'bower.json']
      updateConfigs: ['pkg'],
      commit: true,
      commitMessage: 'chore(deploy): release v%VERSION%',
      commitFiles: ['package.json','bower.json','CHANGELOG.md'], # '-a' for all files
      createTag: true,
      tagName: 'v%VERSION%',
      tagMessage: 'Version %VERSION%',
      push: true,
      pushTo: 'origin',
      gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d' # options to use with '$ git describe'

    changelog: {}

    'npm-contributors':
      options:
        commitMessage: 'chore(attribution): update contributors'

    watch:
      tests:
        files: ['<%= coffee.tests.src %>']
        tasks: ['coffee:tests']
      code:
        files: ['<%= coffee.code.src %>']
        tasks: ['coffee:code']
      karma:
        files: ['lib/*.js']
        tasks: ['karma:unit:run']

    karma:
      unit:
        configFile: 'karma.conf.js',
        background: true
      once:
        configFile: 'karma.conf.js'
        options: singleRun:true
<commit_msg>chore: missed coveralls task config<commit_after>module.exports = (grunt) ->
  grunt.initConfig
    pkg: grunt.file.readJSON('package.json')

    coffee:
      code:
        src: ['src/binary-trunk.coffee']
        dest: 'lib/<%= pkg.name %>.js'
        ext: '.js'
      tests:
        src: ['src/binary-trunk.test.coffee']
        dest: 'lib/<%= pkg.name %>.test.js'
        ext: '.js'

    bump: options:
      files: ['package.json', 'bower.json']
      updateConfigs: ['pkg'],
      commit: true,
      commitMessage: 'chore(deploy): release v%VERSION%',
      commitFiles: ['package.json','bower.json','CHANGELOG.md'], # '-a' for all files
      createTag: true,
      tagName: 'v%VERSION%',
      tagMessage: 'Version %VERSION%',
      push: true,
      pushTo: 'origin',
      gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d' # options to use with '$ git describe'

    changelog: {}

    'npm-contributors':
      options:
        commitMessage: 'chore(attribution): update contributors'

    watch:
      tests:
        files: ['<%= coffee.tests.src %>']
        tasks: ['coffee:tests']
      code:
        files: ['<%= coffee.code.src %>']
        tasks: ['coffee:code']
      karma:
        files: ['lib/*.js']
        tasks: ['karma:unit:run']

    karma:
      unit:
        configFile: 'karma.conf.js',
        background: true
      once:
        configFile: 'karma.conf.js'
        options: singleRun:true

    coveralls:
      options:
        coverage_dir: '.coverage/',
        debug: !!process.env.TRAVIS,
        dryRun: !!process.env.TRAVIS,
        force: true,
        recursive: true

{'fraction_non_alphanumeric': 0.1669416034312108, 'fraction_numerical': 0.0006598482349059716, 'mean_word_length': 2.158333333333333, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '3574434', 'n_tokens_mistral': 1034, 'n_tokens_neox': 995, 'n_words': 214}