UNPKG

front-matter-markdown

Version:

get the config and toc object from the markdown string.

16 lines (13 loc) 582 B
coffeeCoverage = require 'coffee-coverage' projectRoot = './' coverageVar = coffeeCoverage.findIstanbulVariable() reporter = 'coverage/coverage-coffee.json' writeOnExit = if not coverageVar? then reporter else null #instead of --require coffee-coverage/register-istanbul coffeeCoverage.register instrumentor: 'istanbul' basePath: projectRoot exclude: ['/test', '/node_modules', '/.git', '/Gruntfile.coffee'] coverageVar: coverageVar writeOnExit: writeOnExit initAll: if (_ref = process.env.COFFEECOV_INIT_ALL) != null then _ref == 'true' else true