Files
mediawiki-extensions-Univer…/Gruntfile.js
Ed Sanders aaa144ca1d Bump package versions and sort
Remove grunt-cli as included by grunt.

Change-Id: If8f2a363ac9bbdf93979390087ac6c48959c5f40
2016-05-25 06:53:01 +00:00

41 lines
757 B
JavaScript

/*jshint node:true */
module.exports = function ( grunt ) {
'use strict';
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
grunt.loadNpmTasks( 'grunt-jscs' );
grunt.loadNpmTasks( 'grunt-jsonlint' );
grunt.initConfig( {
jshint: {
options: {
jshintrc: true
},
all: [
'**/*.js',
'!lib/**',
'!node_modules/**',
'!vendor/**',
'!resources/js/ext.uls.webfonts.repository.js'
]
},
jscs: {
src: '<%= jshint.all %>'
},
jsonlint: {
all: [
'**/*.json',
'!node_modules/**',
'!vendor/**'
]
},
banana: {
all: 'i18n'
}
} );
grunt.registerTask( 'test', [ 'jshint', 'jscs', 'jsonlint', 'banana' ] );
grunt.registerTask( 'default', 'test' );
};