mediawiki-extensions-RSS/Gruntfile.js
Umherirrender 336e518c42 build: Always exclude vendor and node_modules
Change-Id: Ic48b06dc47b2de97e2d548032064b1fb30b2b94e
2017-11-12 00:33:21 +01:00

30 lines
548 B
JavaScript

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