<commit_before>module.exports = function(grunt) {
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    
    uglify: {
      dist: {
        options: {
          outputStyle: 'compressed'
        },
        files: {
          'build/js/battery-finder.min.js': 'js/main.js',
	        'build/js/minimongo.min.js': 'js/vendor/minimongo.js',
          'build/js/jquery.dataTables.min.js': 'js/vendor/jquery.dataTables.js',
          'build/js/jquery.qtip.min.js': 'js/vendor/jquery.qtip.js'
        }
      }
    },

    sass: {
      options: {
        includePaths: ['css/scss/foundation']
      },
      dev: {
        files: {
          'css/main.css': 'css/scss/main.scss'
        }        
      },
      dist: {
        options: {
          outputStyle: 'compressed'
        },
        files: {
          'css/main.min.css': 'css/scss/main.scss',
          'build/css/battery-finder.min.css': 'css/scss/_battery-finder.scss'
        }        
      }
    },

    watch: {
      grunt: { files: ['Gruntfile.js'] },
      
      uglify: {
        files: ['js/main.js'],
        tasks: ['uglify'],
        options: {
          livereload: true,
        }
      },
      
      sass: {
        files: 'css/scss/**/*.scss',
        tasks: ['sass'],
        options: {
          livereload: true,
        }
      },
      
      html: {
        files: '*.html',
        options: {
          livereload: true,
        }
      }
    }
  });
  
  grunt.loadNpmTasks('grunt-sass');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-watch');
  
  grunt.registerTask('build', ['sass', 'uglify']);
  grunt.registerTask('default', ['build','watch']);
}<commit_msg>Don't want to uglify minimongo, just use provided min version<commit_after>module.exports = function(grunt) {
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    
    uglify: {
      dist: {
        options: {
          outputStyle: 'compressed'
        },
        files: {
          'build/js/battery-finder.min.js': 'js/main.js',
          'build/js/jquery.dataTables.min.js': 'js/vendor/jquery.dataTables.js',
          'build/js/jquery.qtip.min.js': 'js/vendor/jquery.qtip.js'
        }
      }
    },

    sass: {
      options: {
        includePaths: ['css/scss/foundation']
      },
      dev: {
        files: {
          'css/main.css': 'css/scss/main.scss'
        }        
      },
      dist: {
        options: {
          outputStyle: 'compressed'
        },
        files: {
          'css/main.min.css': 'css/scss/main.scss',
          'build/css/battery-finder.min.css': 'css/scss/_battery-finder.scss'
        }        
      }
    },

    watch: {
      grunt: { files: ['Gruntfile.js'] },
      
      uglify: {
        files: ['js/main.js'],
        tasks: ['uglify'],
        options: {
          livereload: true,
        }
      },
      
      sass: {
        files: 'css/scss/**/*.scss',
        tasks: ['sass'],
        options: {
          livereload: true,
        }
      },
      
      html: {
        files: '*.html',
        options: {
          livereload: true,
        }
      }
    }
  });
  
  grunt.loadNpmTasks('grunt-sass');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-watch');
  
  grunt.registerTask('build', ['sass', 'uglify']);
  grunt.registerTask('default', ['build','watch']);
}
{'fraction_non_alphanumeric': 0.17030696576151122, 'fraction_numerical': 0.0, 'mean_word_length': 1.5635400907715582, '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': '3769900', 'n_tokens_mistral': 1191, 'n_tokens_neox': 1175, 'n_words': 147}