<commit_before>module.exports = (grunt) ->

  require('load-grunt-tasks')(grunt)
  require('time-grunt')(grunt)

  gruntConfig =
    pkg: grunt.file.readJSON('package.json')

    yeoman:
      app: require('./bower.json').appPath || 'sabisu',
      dist: 'dist'

    open:
      dev:
        path: 'http://127.0.0.1:8080'

    coffee:
      options:
        join: true
      compile:
        files:
          'lib/sabisu/public/js/sabisu.js': ["lib/sabisu/public/coffee/sabisu.coffee", "lib/sabisu/public/coffee/**/*.coffee"]
 
    watch:
      coffee:
        files: ["lib/sabisu/public/coffee/sabisu.coffee", "lib/sabisu/public/coffee/**/*.coffee"]
        tasks: ["coffee"]
 
    coffeelint:
      sabisu: ["lib/sabisu/public/coffee/**/*.coffee"]
      options:
        no_trailing_whitespace:
          level: 'error'
 
    jsonlint:
      sabisu:
        src: [ 'config.demo.json', 'package.json', 'lib/sabisu/**/*.json' ]

    uglify:
      options:
        banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
                '<%= grunt.template.today("yyyy-mm-dd") %> */'
        compress:
          drop_console: true
          global_defs:
            'DEBUG': false
          dead_code: true
      sabisu:
        files:
          'lib/sabisu/public/js/sabisu.min.js': ['lib/sabisu/public/js/sabisu.js']

    csslint:
      lax:
        src: ['lib/sabisu/public/css/*.css', '!lib/sabisu/public/css/*.min.css', '!lib/sabisu/public/css/bootstrap.min.css']

    cssmin:<commit_msg>set max line lengths to 100 for coffeescript<commit_after>module.exports = (grunt) ->

  require('load-grunt-tasks')(grunt)
  require('time-grunt')(grunt)

  gruntConfig =
    pkg: grunt.file.readJSON('package.json')

    yeoman:
      app: require('./bower.json').appPath || 'sabisu',
      dist: 'dist'

    open:
      dev:
        path: 'http://127.0.0.1:8080'

    coffee:
      options:
        join: true
      compile:
        files:
          'lib/sabisu/public/js/sabisu.js': ["lib/sabisu/public/coffee/sabisu.coffee", "lib/sabisu/public/coffee/**/*.coffee"]
 
    watch:
      coffee:
        files: ["lib/sabisu/public/coffee/sabisu.coffee", "lib/sabisu/public/coffee/**/*.coffee"]
        tasks: ["coffee"]
 
    coffeelint:
      sabisu: ["lib/sabisu/public/coffee/**/*.coffee"]
      options:
        max_line_length:
          value: 100
        no_trailing_whitespace:
          level: 'error'
 
    jsonlint:
      sabisu:
        src: [ 'config.demo.json', 'package.json', 'lib/sabisu/**/*.json' ]

    uglify:
      options:
        banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
                '<%= grunt.template.today("yyyy-mm-dd") %> */'
        compress:
          drop_console: true
          global_defs:
            'DEBUG': false
          dead_code: true
      sabisu:
        files:
          'lib/sabisu/public/js/sabisu.min.js': ['lib/sabisu/public/js/sabisu.js']

    csslint:
      lax:
        src: ['lib/sabisu/public/css/*.css', '!lib/sabisu/public/css/*.min.css', '!lib/sabisu/public/css/bootstrap.min.css']

    cssmin:
{'fraction_non_alphanumeric': 0.17760365654587007, 'fraction_numerical': 0.008488410055501142, 'mean_word_length': 2.030662710187933, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2174007', 'n_tokens_mistral': 1247, 'n_tokens_neox': 1123, 'n_words': 153}