diff --git Gruntfile.js Gruntfile.js
index d3126cf1c..b9bfc8a67 100644
|
|
|
module.exports = function( grunt ) { |
| 241 | 241 | src: [ '**/*.scss' ] |
| 242 | 242 | } |
| 243 | 243 | }, |
| | 244 | phplint: { |
| | 245 | good: ['**/*.php'].concat( BP_EXCLUDED_MISC ) |
| | 246 | }, |
| 244 | 247 | postcss: { |
| 245 | 248 | options: { |
| 246 | 249 | map: false, |
| … |
… |
module.exports = function( grunt ) { |
| 329 | 332 | * Register tasks. |
| 330 | 333 | */ |
| 331 | 334 | grunt.registerTask( 'src', ['checkDependencies', 'jsvalidate:src', 'jshint', 'stylelint', 'sass', 'postcss', 'rtlcss'] ); |
| 332 | | grunt.registerTask( 'commit', ['src', 'checktextdomain', 'imagemin'] ); |
| | 335 | grunt.registerTask( 'commit', ['src', 'checktextdomain', 'imagemin','phplint'] ); |
| 333 | 336 | grunt.registerTask( 'build', ['commit', 'clean:all', 'copy:files', 'uglify', 'jsvalidate:build', 'cssmin', 'makepot', 'exec:bpdefault', 'exec:cli'] ); |
| 334 | 337 | grunt.registerTask( 'release', ['build'] ); |
| 335 | 338 | |
diff --git package.json package.json
index cff46529d..033954271 100644
|
|
|
|
| 6 | 6 | "description": "BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!", |
| 7 | 7 | "devDependencies": { |
| 8 | 8 | "@wordpress/browserslist-config": "~2.1.4", |
| 9 | | "autoprefixer": "~8.5.1", |
| 10 | | "grunt": "^1.0.2", |
| | 9 | "autoprefixer": "^8.5.2", |
| | 10 | "grunt": "^1.0.3", |
| 11 | 11 | "grunt-check-dependencies": "~1.0.0", |
| 12 | 12 | "grunt-checktextdomain": "~1.0.1", |
| 13 | 13 | "grunt-contrib-clean": "~1.1.0", |
| … |
… |
|
| 16 | 16 | "grunt-contrib-imagemin": "~1.0.1", |
| 17 | 17 | "grunt-contrib-jshint": "~1.1.0", |
| 18 | 18 | "grunt-contrib-uglify": "~3.0.1", |
| 19 | | "grunt-contrib-watch": "~1.0.0", |
| | 19 | "grunt-contrib-watch": "^1.0.1", |
| 20 | 20 | "grunt-exec": "~2.0.0", |
| 21 | 21 | "grunt-jsvalidate": "~0.2.2", |
| 22 | | "grunt-legacy-util": "^1.0.0", |
| | 22 | "grunt-legacy-util": "^1.1.1", |
| 23 | 23 | "grunt-patch-wordpress": "~0.4.2", |
| | 24 | "grunt-phplint": "~0.1.0", |
| 24 | 25 | "grunt-postcss": "~0.9.0", |
| 25 | 26 | "grunt-rtlcss": "~2.0.1", |
| 26 | 27 | "grunt-sass": "~2.0.0", |
| 27 | 28 | "grunt-stylelint": "^0.8.0", |
| 28 | 29 | "grunt-wp-i18n": "^1.0.2", |
| 29 | 30 | "matchdep": "~1.0.1", |
| 30 | | "postcss-scss": "~1.0.5", |
| | 31 | "postcss-scss": "^1.0.6", |
| 31 | 32 | "stylelint": "~7.10.1", |
| 32 | 33 | "stylelint-config-wordpress": "~11.0.0" |
| 33 | 34 | }, |