<commit_before>module.exports = ->
  # Project configuration
  @initConfig
    pkg: @file.readJSON 'package.json'

    # CoffeeScript compilation
    coffee:
      libraries:
        expand: true
        cwd: 'src/lib'
        src: ['**.coffee']
        dest: 'lib'
        ext: '.js'
      components:
        expand: true
        cwd: 'src/components'
        src: ['**.coffee']
        dest: 'components'
        ext: '.js'
      libraries_loaders:
        expand: true
        cwd: 'src/lib/loader'
        src: ['**.coffee']
        dest: 'lib/loader'
        ext: '.js'
      spec:
        options:
          bare: true
        expand: true
        cwd: 'spec'
        src: ['**.coffee']
        dest: 'spec'
        ext: '.js'

    # Browser build of NoFlo
    noflo_browser:
      options:
        baseDir: './'
      build:
        files:
          'browser/noflo.js': ['spec/fixtures/entry.js']

    # Automated recompilation and testing when developing
    watch:
      files: ['spec/*.coffee', 'spec/**/*.coffee', 'test/*.coffee', 'src/**/*.coffee']
      tasks: ['test']

    # BDD tests on Node.js
    mochaTest:
      nodejs:
        src: ['spec/*.coffee']
        options:
          reporter: 'spec'
          require: 'coffee-script/register'
          grep: process.env.TESTS

    # Web server for the browser tests
    connect:
      server:<commit_msg>There is no longer a test dir<commit_after>module.exports = ->
  # Project configuration
  @initConfig
    pkg: @file.readJSON 'package.json'

    # CoffeeScript compilation
    coffee:
      libraries:
        expand: true
        cwd: 'src/lib'
        src: ['**.coffee']
        dest: 'lib'
        ext: '.js'
      components:
        expand: true
        cwd: 'src/components'
        src: ['**.coffee']
        dest: 'components'
        ext: '.js'
      libraries_loaders:
        expand: true
        cwd: 'src/lib/loader'
        src: ['**.coffee']
        dest: 'lib/loader'
        ext: '.js'
      spec:
        options:
          bare: true
        expand: true
        cwd: 'spec'
        src: ['**.coffee']
        dest: 'spec'
        ext: '.js'

    # Browser build of NoFlo
    noflo_browser:
      options:
        baseDir: './'
      build:
        files:
          'browser/noflo.js': ['spec/fixtures/entry.js']

    # Automated recompilation and testing when developing
    watch:
      files: ['spec/*.coffee', 'spec/**/*.coffee', 'src/**/*.coffee']
      tasks: ['test']

    # BDD tests on Node.js
    mochaTest:
      nodejs:
        src: ['spec/*.coffee']
        options:
          reporter: 'spec'
          require: 'coffee-script/register'
          grep: process.env.TESTS

    # Web server for the browser tests
    connect:
      server:
{'fraction_non_alphanumeric': 0.13780532263944587, 'fraction_numerical': 0.0, 'mean_word_length': 1.6435452793834298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7009686', 'n_tokens_mistral': 885, 'n_tokens_neox': 859, 'n_words': 214}