<commit_before>module.exports = function (grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    concat: {
      options : {
        separator : ';',
        stripBanners: true
      },
      app : {
        files : {
          'public/js/app.concat.js' : ['public/app/*.js', 'public/app/**/*.js', 'public/app/**/**/*.js', 'public/app/**/**/**/*.js']
        }
      }
    },

    uglify : {
      vendor_header : {
        src : ['bower/modernizr/modernizr.js'],
        dest : 'public/js/vendor-header.js'
      },
      vendor_body : {
        src : [
          'bower/jquery/dist/jquery.min.js',
          'bower/lodash/dist/lodash.min.js',
          'bower/momentjs/min/moment.min.js',
          'bower/stringjs/lib/string.min.js',
          'bower/amplify/lib/amplify.min.js',
          'bower/angular/angular.min.js',
          'bower/angular-i18n/angular-locale_en-gb.js',
          'bower/angular-animate/angular-animate.min.js',
          'bower/angular-cookies/angular-cookies.min.js',
          'bower/angular-resource/angular-resource.min.js',
          'bower/angular-ui-utils/ui-utils.min.js',
          'bower/angular-ui-router/release/angular-ui-router.min.js',
          'bower/angular-bootstrap/ui-bootstrap-tpls.min.js'
        ],
        dest : 'public/js/vendor-body.js'
      }
    },
    copy : {
      main : {
        files : [
          {
            src : 'bower/toastr/toastr.min.css',
            dest : 'public/styles/toastr.min.css'
          }, {
            src : 'bower/animate.css/animate.min.css',
            dest : 'public/styles/animate.min.css'
          },
          {
            src : 'bower/animate.css/animate.min.css',
            dest : 'public/styles/animate.min.css'
          },
          {
            src : 'bower/toastr/toastr.min.css',
            dest : 'public/styles/toastr.min.css'
          },
          {
            expand : true,
            cwd : 'bower/font-awesome/fonts/',
            src : ['**'],
            dest : 'public/styles/fonts/',
            flatten : true,
            filter : 'isFile'
          }
        ]
      }
    },
    jshint: {
      // define the files to lint
      files: ['Gruntfile.js', 'public/app/*.js', 'public/app/**/*.js', 'public/app/**/**/*.js', 'public/app/**/**/**/*.js'],
      // configure JSHint (documented at http://www.jshint.com/docs/)
      options: {
        // more options here if you want to override JSHint defaults
        globals: {
          jQuery: true,
          console: true,
          module: true
        }
      }
    },
    less : {
      app : {
        options : {
          paths : ['bower/bootstrap/less', 'less']
        },
        files : {
          "public/styles/bootstrap.css" : "bower/bootstrap/less/bootstrap.less",
          "public/styles/font-awesome.css" : "bower/font-awesome/less/font-awesome.less",
          "public/styles/style.css" : "less/style.less"<commit_msg>Added toastr to uglify:vendor_body<commit_after>module.exports = function (grunt) {

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    concat: {
      options : {
        separator : ';',
        stripBanners: true
      },
      app : {
        files : {
          'public/js/app.concat.js' : ['public/app/*.js', 'public/app/**/*.js', 'public/app/**/**/*.js', 'public/app/**/**/**/*.js']
        }
      }
    },

    uglify : {
      vendor_header : {
        src : ['bower/modernizr/modernizr.js'],
        dest : 'public/js/vendor-header.js'
      },
      vendor_body : {
        src : [
          'bower/jquery/dist/jquery.min.js',
          'bower/lodash/dist/lodash.min.js',
          'bower/momentjs/min/moment.min.js',
          'bower/stringjs/lib/string.min.js',
          'bower/amplify/lib/amplify.min.js',
          'bower/toastr/toastr.min.js',
          'bower/angular/angular.min.js',
          'bower/angular-i18n/angular-locale_en-gb.js',
          'bower/angular-animate/angular-animate.min.js',
          'bower/angular-cookies/angular-cookies.min.js',
          'bower/angular-resource/angular-resource.min.js',
          'bower/angular-ui-utils/ui-utils.min.js',
          'bower/angular-ui-router/release/angular-ui-router.min.js',
          'bower/angular-bootstrap/ui-bootstrap-tpls.min.js'
        ],
        dest : 'public/js/vendor-body.js'
      }
    },
    copy : {
      main : {
        files : [
          {
            src : 'bower/toastr/toastr.min.css',
            dest : 'public/styles/toastr.min.css'
          }, {
            src : 'bower/animate.css/animate.min.css',
            dest : 'public/styles/animate.min.css'
          },
          {
            src : 'bower/animate.css/animate.min.css',
            dest : 'public/styles/animate.min.css'
          },
          {
            src : 'bower/toastr/toastr.min.css',
            dest : 'public/styles/toastr.min.css'
          },
          {
            expand : true,
            cwd : 'bower/font-awesome/fonts/',
            src : ['**'],
            dest : 'public/fonts/',
            flatten : true,
            filter : 'isFile'
          }
        ]
      }
    },
    jshint: {
      // define the files to lint
      files: ['Gruntfile.js', 'public/app/*.js', 'public/app/**/*.js', 'public/app/**/**/*.js', 'public/app/**/**/**/*.js'],
      // configure JSHint (documented at http://www.jshint.com/docs/)
      options: {
        // more options here if you want to override JSHint defaults
        globals: {
          jQuery: true,
          console: true,
          module: true
        }
      }
    },
    less : {
      app : {
        options : {
          paths : ['bower/bootstrap/less', 'less']
        },
        files : {
          "public/styles/bootstrap.css" : "bower/bootstrap/less/bootstrap.less",
          "public/styles/font-awesome.css" : "bower/font-awesome/less/font-awesome.less",
          "public/styles/style.css" : "less/style.less"
{'fraction_non_alphanumeric': 0.17104819683181666, 'fraction_numerical': 0.0006740815638692282, 'mean_word_length': 1.540667808219178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '560346', 'n_tokens_mistral': 2001, 'n_tokens_neox': 1970, 'n_words': 241}