diff --git a/Gruntfile.js b/Gruntfile.js index b910622655..d61ac51ef8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -428,6 +428,9 @@ module.exports = function(grunt) { grunt.registerTask('test', 'Runs all QUnit and PHPUnit tasks.', ['qunit:compiled', 'phpunit']); grunt.registerTask('travis', ['jshint', 'test']); + // Patch task. + grunt.renameTask('patch_wordpress', 'patch'); + // Default task. grunt.registerTask('default', ['build']); diff --git a/package.json b/package.json index 67d74bf125..35dc5e8e44 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "grunt-autoprefixer": "~0.7.1", "grunt-jsvalidate": "~0.2.2", "grunt-contrib-imagemin" : "~0.4.1", + "grunt-patch-wordpress" : "~0.1.2", "matchdep": "~0.3.0" } }