{"action":"closed","issue":{"url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/31","repository_url":"https://api.github.com/repos/SitePen/remap-istanbul","labels_url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/31/comments","events_url":"https://api.github.com/repos/SitePen/remap-istanbul/issues/31/events","html_url":"https://github.com/SitePen/remap-istanbul/issues/31","id":125401351,"number":31,"title":"How to pass reporter options","user":{"login":"jvanoostveen","id":239357,"avatar_url":"https://avatars.githubusercontent.com/u/239357?v=3","gravatar_id":"","url":"https://api.github.com/users/jvanoostveen","html_url":"https://github.com/jvanoostveen","followers_url":"https://api.github.com/users/jvanoostveen/followers","following_url":"https://api.github.com/users/jvanoostveen/following{/other_user}","gists_url":"https://api.github.com/users/jvanoostveen/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanoostveen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanoostveen/subscriptions","organizations_url":"https://api.github.com/users/jvanoostveen/orgs","repos_url":"https://api.github.com/users/jvanoostveen/repos","events_url":"https://api.github.com/users/jvanoostveen/events{/privacy}","received_events_url":"https://api.github.com/users/jvanoostveen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SitePen/remap-istanbul/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"kitsonk","id":1282577,"avatar_url":"https://avatars.githubusercontent.com/u/1282577?v=3","gravatar_id":"","url":"https://api.github.com/users/kitsonk","html_url":"https://github.com/kitsonk","followers_url":"https://api.github.com/users/kitsonk/followers","following_url":"https://api.github.com/users/kitsonk/following{/other_user}","gists_url":"https://api.github.com/users/kitsonk/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsonk/subscriptions","organizations_url":"https://api.github.com/users/kitsonk/orgs","repos_url":"https://api.github.com/users/kitsonk/repos","events_url":"https://api.github.com/users/kitsonk/events{/privacy}","received_events_url":"https://api.github.com/users/kitsonk/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SitePen/remap-istanbul/milestones/5","html_url":"https://github.com/SitePen/remap-istanbul/milestones/0.6.0","labels_url":"https://api.github.com/repos/SitePen/remap-istanbul/milestones/5/labels","id":1498044,"number":5,"title":"0.6.0","description":"","creator":{"login":"kitsonk","id":1282577,"avatar_url":"https://avatars.githubusercontent.com/u/1282577?v=3","gravatar_id":"","url":"https://api.github.com/users/kitsonk","html_url":"https://github.com/kitsonk","followers_url":"https://api.github.com/users/kitsonk/followers","following_url":"https://api.github.com/users/kitsonk/following{/other_user}","gists_url":"https://api.github.com/users/kitsonk/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsonk/subscriptions","organizations_url":"https://api.github.com/users/kitsonk/orgs","repos_url":"https://api.github.com/users/kitsonk/repos","events_url":"https://api.github.com/users/kitsonk/events{/privacy}","received_events_url":"https://api.github.com/users/kitsonk/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":3,"state":"open","created_at":"2016-01-11T19:13:27Z","updated_at":"2016-04-13T10:26:29Z","due_on":"2016-04-14T23:00:00Z","closed_at":null},"comments":2,"created_at":"2016-01-07T14:13:18Z","updated_at":"2016-04-13T10:26:29Z","closed_at":"2016-04-13T10:26:29Z","body":"We use some custom reporter options for the threshold colors, and I was wondering how I pass these to the remap-istanbul to the reports. As after the remap, the coverage color thresholds are back to the defaults.\r\n\r\nNow the 'normal' istanbul is called (`instanbul.writeReports(config.istanbul.reports)`) with the following as the value of the config.istanbul.reports:\r\n```javascript\r\n{\r\n  dir: 'build/report',\r\n  reporters: [\r\n    'lcov',\r\n    'json'\r\n  ],\r\n  reportOpts: {\r\n    watermarks: {\r\n      statements: [75, 100],\r\n      lines: [75, 100],\r\n      functions: [75, 100],\r\n      branches: [75, 100]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nIs it possible to pass the options for the reporters when remapping the output? And if so, how?\r\n\r\nBTW: I'm using the gulp remap-istanbul."}}