diff --git a/Gruntfile.js b/Gruntfile.js index 778247b481..6d18811cb5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -5,7 +5,9 @@ module.exports = function(grunt) { BUILD_DIR = 'build/'; // Load tasks. - require('matchdep').filterDev('grunt-*').forEach( grunt.loadNpmTasks ); + require('matchdep').filterDev(['grunt-*', '!grunt-legacy-util']).forEach( grunt.loadNpmTasks ); + // Load legacy utils + grunt.util = require('grunt-legacy-util'); // Project configuration. grunt.initConfig({ diff --git a/package.json b/package.json index a4109035d6..be529e9e25 100644 --- a/package.json +++ b/package.json @@ -10,21 +10,22 @@ "license": "GPLv2 or later", "devDependencies": { "grunt": "~0.4.2", + "grunt-autoprefixer": "~0.7.1", "grunt-contrib-clean": "~0.5.0", + "grunt-contrib-compress": "~0.6.0", + "grunt-contrib-concat": "~0.3.0", "grunt-contrib-copy": "~0.5.0", "grunt-contrib-cssmin": "~0.7.0", + "grunt-contrib-imagemin": "~0.4.1", + "grunt-contrib-jshint": "~0.8.0", "grunt-contrib-qunit": "~0.4.0", "grunt-contrib-uglify": "~0.3.0", "grunt-contrib-watch": "~0.5.3", - "grunt-contrib-compress": "~0.6.0", - "grunt-contrib-concat": "~0.3.0", - "grunt-contrib-jshint": "~0.8.0", "grunt-cssjanus": "~0.2.2", - "grunt-sass": "~0.10.0", - "grunt-autoprefixer": "~0.7.1", "grunt-jsvalidate": "~0.2.2", - "grunt-contrib-imagemin" : "~0.4.1", - "grunt-patch-wordpress" : "~0.2.1", + "grunt-legacy-util": "^0.2.0", + "grunt-patch-wordpress": "~0.2.1", + "grunt-sass": "~0.10.0", "matchdep": "~0.3.0" } }