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

  // Project configuration.
  grunt.initConfig({

    pkg: grunt.file.readJSON('package.json'),

    watch: {
      less: {
        files: [
        'LESS/*',
        'bower_components/normalize-css/normalize.css'
        ],
        tasks: ['less']
      },
      css: {
        files: [
        'compiled_css/*'
        ],
        tasks: ['cssmin']
      }
    },

    uglify: {
      options: {
        mangle: false
      },
      combinejs: {
        files: {
          '<%= ghost_location %>content/themes/<%= ghost_theme_name %>/assets/js/all.min.js':
          [
          'bower_components/modernizr/modernizr.js',
          'custom_components/responsive_iframes/responsive_iframes.js',
          'custom_components/magnum.js'
          ]
        }
      }
    },

    less: {
      components: {
        files: {
          'compiled_css/compiled_css.css': ['LESS/less_imports.less']
        }
      },
      options: {
        expand: true,
        paths: [
        'bower_components/lesshat',
        'LESS'
        ]
      }
    },

    cssmin: {
      combine: {
        files: {
          '../assets/css/style.css': ['bower_components/normalize-css/normalize.css', 'compiled_css/compiled_css.css']
        }
      }
    },

    'ghost_location': '../../Ghost/',
    'ghost_theme_name': 'magnum',

  });

  // Load grunt plugins.
  grunt.loadNpmTasks('assemble-less');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-cssmin');

  grunt.registerTask('default', ['watch', 'uglify', 'less', 'cssmin']);
};<commit_msg>Fix uglify target path for javascript.<commit_after>module.exports = function (grunt) {
  // Project configuration.
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    watch: {
      less: {
        files: [
        'LESS/*',
        'bower_components/normalize-css/normalize.css'
        ],
        tasks: ['less']
      },
      css: {
        files: [
          'compiled_css/*'
        ],
        tasks: ['cssmin']
      }
    },

    uglify: {
      options: {
        mangle: false
      },
      combinejs: {
        files: {
          '../assets/js/all.min.js': [
            'bower_components/modernizr/modernizr.js',
            'custom_components/responsive_iframes/responsive_iframes.js',
            'custom_components/magnum.js'
          ]
        }
      }
    },

    less: {
      components: {
        files: {
          'compiled_css/compiled_css.css': ['LESS/less_imports.less']
        }
      },
      options: {
        expand: true,
        paths: [
          'bower_components/lesshat',
          'LESS'
        ]
      }
    },

    cssmin: {
      combine: {
        files: {
          '../assets/css/style.css': ['bower_components/normalize-css/normalize.css', 'compiled_css/compiled_css.css']
        }
      }
    }
  });

  // Load grunt plugins.
  grunt.loadNpmTasks('assemble-less');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-cssmin');

  grunt.registerTask('default', ['uglify', 'less', 'cssmin', 'watch']);
};
{'fraction_non_alphanumeric': 0.15689332501559575, 'fraction_numerical': 0.0, 'mean_word_length': 1.810692375109553, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5256956', 'n_tokens_mistral': 1097, 'n_tokens_neox': 1067, 'n_words': 129}