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']);

View File

@ -14,6 +14,7 @@
"devDependencies": {
"grunt-contrib-compress": "~1.3.0",
"grunt-contrib-watch": "~1.0.0",
"grunt-fixpack": "~0.1.0",
"grunt-githash": "~0.1.3",
"grunt-jslint": "~1.1.14",
"grunt-jsonlint": "~1.1.0",