]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - skins/CologneBlue/Gruntfile.js
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / skins / CologneBlue / Gruntfile.js
diff --git a/skins/CologneBlue/Gruntfile.js b/skins/CologneBlue/Gruntfile.js
new file mode 100644 (file)
index 0000000..2ac1ee8
--- /dev/null
@@ -0,0 +1,29 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+       grunt.loadNpmTasks( 'grunt-banana-checker' );
+       grunt.loadNpmTasks( 'grunt-jsonlint' );
+       grunt.loadNpmTasks( 'grunt-stylelint' );
+
+       grunt.initConfig( {
+               banana: {
+                       all: 'i18n/'
+               },
+               jsonlint: {
+                       all: [
+                               '**/*.json',
+                               '!node_modules/**',
+                               '!vendor/**'
+                       ]
+               },
+               stylelint: {
+                       all: [
+                               '**/*.css',
+                               '!node_modules/**',
+                               '!vendor/**'
+                       ]
+               }
+       } );
+
+       grunt.registerTask( 'test', [ 'jsonlint', 'banana', 'stylelint' ] );
+       grunt.registerTask( 'default', 'test' );
+};