Update phpunit
grunt
task to not use deprecated util
package. Run npm install
or sudo npm install
to get the updates.
Props jorbin. Fixes #27343. git-svn-id: https://develop.svn.wordpress.org/trunk@28796 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
31da18f841
commit
ce3248c482
@ -5,7 +5,9 @@ module.exports = function(grunt) {
|
|||||||
BUILD_DIR = 'build/';
|
BUILD_DIR = 'build/';
|
||||||
|
|
||||||
// Load tasks.
|
// 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.
|
// Project configuration.
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
|
15
package.json
15
package.json
@ -10,21 +10,22 @@
|
|||||||
"license": "GPLv2 or later",
|
"license": "GPLv2 or later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "~0.4.2",
|
"grunt": "~0.4.2",
|
||||||
|
"grunt-autoprefixer": "~0.7.1",
|
||||||
"grunt-contrib-clean": "~0.5.0",
|
"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-copy": "~0.5.0",
|
||||||
"grunt-contrib-cssmin": "~0.7.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-qunit": "~0.4.0",
|
||||||
"grunt-contrib-uglify": "~0.3.0",
|
"grunt-contrib-uglify": "~0.3.0",
|
||||||
"grunt-contrib-watch": "~0.5.3",
|
"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-cssjanus": "~0.2.2",
|
||||||
"grunt-sass": "~0.10.0",
|
|
||||||
"grunt-autoprefixer": "~0.7.1",
|
|
||||||
"grunt-jsvalidate": "~0.2.2",
|
"grunt-jsvalidate": "~0.2.2",
|
||||||
"grunt-contrib-imagemin" : "~0.4.1",
|
"grunt-legacy-util": "^0.2.0",
|
||||||
"grunt-patch-wordpress" : "~0.2.1",
|
"grunt-patch-wordpress": "~0.2.1",
|
||||||
|
"grunt-sass": "~0.10.0",
|
||||||
"matchdep": "~0.3.0"
|
"matchdep": "~0.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user