diff --git Gruntfile.js Gruntfile.js
index 44aa52e..3178a68 100644
|
|
|
module.exports = function( grunt ) {
|
| 26 | 26 | |
| 27 | 27 | grunt.initConfig( { |
| 28 | 28 | pkg: grunt.file.readJSON( 'package.json' ), |
| | 29 | checkDependencies: { |
| | 30 | options: { |
| | 31 | packageManager: 'npm' |
| | 32 | }, |
| | 33 | src: {} |
| | 34 | }, |
| 29 | 35 | jshint: { |
| 30 | 36 | options: grunt.file.readJSON( '.jshintrc' ), |
| 31 | 37 | grunt: { |
| … |
… |
module.exports = function( grunt ) {
|
| 252 | 258 | /** |
| 253 | 259 | * Register tasks. |
| 254 | 260 | */ |
| 255 | | grunt.registerTask( 'src', ['jsvalidate:src', 'jshint', 'scsslint', 'sass', 'cssjanus'] ); |
| | 261 | grunt.registerTask( 'src', ['checkDependencies', 'jsvalidate:src', 'jshint', 'scsslint', 'sass', 'cssjanus'] ); |
| 256 | 262 | grunt.registerTask( 'commit', ['src', 'checktextdomain', 'imagemin'] ); |
| 257 | 263 | grunt.registerTask( 'build', ['commit', 'clean:all', 'copy:files', 'uglify', 'jsvalidate:build', 'cssmin', 'makepot', 'exec:bpdefault'] ); |
| 258 | 264 | grunt.registerTask( 'release', ['build', 'exec:bbpress'] ); |
diff --git package.json package.json
index 32f4baa..c03be38 100644
|
|
|
|
| 16 | 16 | "grunt-contrib-watch": "~0.6.1", |
| 17 | 17 | "grunt-cssjanus": "~0.2.4", |
| 18 | 18 | "grunt-exec": "~0.4.6", |
| | 19 | "grunt-check-dependencies": "~0.11.2", |
| 19 | 20 | "grunt-jsvalidate": "~0.2.2", |
| 20 | 21 | "grunt-legacy-util": "^0.2.0", |
| 21 | 22 | "grunt-patch-wordpress": "~0.3.0", |