Ticket #5627: 5627.2.diff
| File 5627.2.diff, 993 bytes (added by , 13 years ago) |
|---|
-
Gruntfile.js
34 34 '!bp-themes/bp-default/_inc/*.js' 35 35 ]; 36 36 37 require( 'matchdep' ).filterDev( 'grunt-*' ).forEach( grunt.loadNpmTasks ); 37 // Load tasks. 38 require( 'matchdep' ).filterDev(['grunt-*', '!grunt-legacy-util']).forEach( grunt.loadNpmTasks ); 39 // Load legacy utils. 40 grunt.util = require( 'grunt-legacy-util' ); 38 41 39 42 // Project configuration. 40 43 grunt.initConfig( { 41 44 jshint: { 42 45 options: grunt.file.readJSON( '.jshintrc' ), -
package.json
17 17 "grunt-cssjanus": "~0.2.2", 18 18 "grunt-contrib-less": "~0.11.0", 19 19 "grunt-exec": "~0.4.5", 20 "grunt-legacy-util": "^0.2.0", 20 21 "grunt-patch-wordpress": "~0.2.1", 21 22 "grunt-phpunit": "~0.3.3", 22 23 "grunt-wp-i18n": "~0.4.3",