mediawiki-extensions-TextEx.../Gruntfile.js
Kunal Mehta 9a27b49107 build: Configure banana-checker and jsonlint
Change-Id: I89b3081c9aa7ae89e8a38f0c339f7a2a091278c9
2015-06-19 22:28:08 -07:00

21 lines
385 B
JavaScript

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