<commit_before>
module.exports = (grunt) ->
  pkg = grunt.file.readJSON("package.json")
  grunt.initConfig
    bower:
      install:
        options:
          targetDir: './lib'
          layout: 'byType'
          install: true
          verbose: false
          cleanTargetDir: true
          cleanBowerDir: false

    typescript:
      base:
        src: ['ts/*.ts']
        dest: 'js/'
        options:
          module: 'amd'
          target: 'es5'
          sourcemap: true
          base_path: "ts"

    compass:
      dist:
        options:
          config: 'config.rb'

    watch:
      files: [ 'ts/*.ts' ]
      tasks: [ 'compile' ]

      sass:
        files: [ 'sass/style.scss' ]
        tasks: [ 'compass', 'cmq', 'csscomb' ]
        options:
          nospawn: true

    cmq:
      options:
        log: false
      dev:
        files:
          'css/': ['css/style.css']

    csscomb:
      dev:
        expand: true
        cwd: 'css/'
        src: ['*.css']
        dest: 'css/'

  for taskName of pkg.devDependencies when taskName.substring(0, 6) is 'grunt-'
    grunt.loadNpmTasks taskName

  grunt.registerTask('default', ['bower:install']);
  grunt.registerTask('compile', ['typescript']);<commit_msg>indention<commit_after>
module.exports = (grunt) ->
  pkg = grunt.file.readJSON("package.json")
  grunt.initConfig
    bower:
      install:
        options:
          targetDir: './lib'
          layout: 'byType'
          install: true
          verbose: false
          cleanTargetDir: true
          cleanBowerDir: false

    typescript:
      base:
        src: ['ts/*.ts']
        dest: 'js/'
        options:
          module: 'amd'
          target: 'es5'
          sourcemap: true
          base_path: "ts"

    compass:
      dist:
        options:
          config: 'config.rb'

    watch:
      ts:
        files: [ 'ts/*.ts' ]
        tasks: [ 'compile' ]

      sass:
        files: [ 'sass/style.scss' ]
        tasks: [ 'compass', 'cmq', 'csscomb' ]
        options:
          nospawn: true

    cmq:
      options:
        log: false
      dev:
        files:
          'css/': ['css/style.css']

    csscomb:
      dev:
        expand: true
        cwd: 'css/'
        src: ['*.css']
        dest: 'css/'

  for taskName of pkg.devDependencies when taskName.substring(0, 6) is 'grunt-'
    grunt.loadNpmTasks taskName

  grunt.registerTask('default', ['bower:install']);
  grunt.registerTask('compile', ['typescript']);
{'fraction_non_alphanumeric': 0.13433441558441558, 'fraction_numerical': 0.002435064935064935, 'mean_word_length': 1.5947368421052632, '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': '4857294', 'n_tokens_mistral': 808, 'n_tokens_neox': 779, 'n_words': 178}