grunt-fixpack

This commit is contained in:
Pierre Rudloff 2016-08-20 13:54:14 +02:00
parent a75765d398
commit 37c1a1acd3
2 changed files with 8 additions and 1 deletions

View file

@ -85,6 +85,11 @@ module.exports = function (grunt) {
format: true
}
}
},
fixpack: {
package: {
src: 'package.json'
}
}
}
);
@ -99,9 +104,10 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-jslint');
grunt.loadNpmTasks('grunt-phpdocumentor');
grunt.loadNpmTasks('grunt-jsonlint');
grunt.loadNpmTasks('grunt-fixpack');
grunt.registerTask('default', ['uglify', 'cssmin']);
grunt.registerTask('lint', ['phpcs', 'jslint', 'jsonlint']);
grunt.registerTask('lint', ['jslint', 'fixpack', 'jsonlint', 'phpcs']);
grunt.registerTask('test', ['phpunit']);
grunt.registerTask('doc', ['phpdocumentor']);
grunt.registerTask('release', ['default', 'githash', 'compress']);