mediawiki-extensions-Scribunto/Gruntfile.js

25 lines
457 B
JavaScript
Raw Normal View History

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