X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=Gruntfile.js;h=191286ad7ac7a5156974b37617dc494e558614ea;hb=8a65a5486f3da8163c0f8609d696ff6b5a481251;hp=3fee6bad51e0629a542af37cabc3b8f8c00fc079;hpb=000a95944fbe92cdc829bd7f7f2a12cbe4b9c503;p=lhc%2Fweb%2Fwiklou.git diff --git a/Gruntfile.js b/Gruntfile.js index 3fee6bad51..191286ad7a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -14,7 +14,10 @@ module.exports = function ( grunt ) { grunt.loadNpmTasks( 'grunt-karma' ); grunt.loadNpmTasks( 'grunt-stylelint' ); - karmaProxy[ wgScriptPath ] = wgServer + wgScriptPath; + karmaProxy[ wgScriptPath ] = { + target: wgServer + wgScriptPath, + changeOrigin: true + }; grunt.initConfig( { eslint: { @@ -34,7 +37,6 @@ module.exports = function ( grunt ) { // Skip functions aren't even parseable '!resources/src/dom-level2-skip.js', '!resources/src/es5-skip.js', - '!resources/src/json-skip.js', '!resources/src/mediawiki.hidpi-skip.js' ] }, @@ -56,7 +58,7 @@ module.exports = function ( grunt ) { options: { syntax: 'less' }, - src: '{resources/src/*,mw-config/**}/*.{css,less}' + src: '{resources/src,mw-config}/**/*.{css,less}' }, watch: { files: [ @@ -86,6 +88,9 @@ module.exports = function ( grunt ) { main: { browsers: [ 'Chrome' ] }, + chromium: { + browsers: [ 'Chromium' ] + }, more: { browsers: [ 'Chrome', 'Firefox' ] }