X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=Gruntfile.js;h=191286ad7ac7a5156974b37617dc494e558614ea;hb=2805321c70e5cb1d34fb2f8bd0d1838ce302af2c;hp=55b7932f002b1e4bfab0e935457d9751094ff39b;hpb=0295e7260bf52a1fc6c051ad010c40abd79e1721;p=lhc%2Fweb%2Fwiklou.git diff --git a/Gruntfile.js b/Gruntfile.js index 55b7932f00..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: { @@ -55,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: [ @@ -85,6 +88,9 @@ module.exports = function ( grunt ) { main: { browsers: [ 'Chrome' ] }, + chromium: { + browsers: [ 'Chromium' ] + }, more: { browsers: [ 'Chrome', 'Firefox' ] }