mediawiki-extensions-Catego.../Gruntfile.js
Kunal Mehta f5e8bf0800 build: Adding configuration for jsonlint
Change-Id: I71675f504ec9b72a1cb8794fef01424fb716a2fb
2015-06-11 21:30:57 -07:00

26 lines
437 B
JavaScript

/*!
* Grunt file
*
* @package CategoryTree
*/
/*jshint node:true */
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-jsonlint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.initConfig( {
banana: {
all: ['i18n/']
},
jsonlint: {
all: [
'**/*.json',
'!node_modules/**'
]
}
} );
grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
grunt.registerTask( 'default', 'test' );
};