Commit a7c79ad0 authored by Björn Bartels's avatar Björn Bartels

add test coverage reporter

parent ec75e354
This diff is collapsed.
......@@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"test": "mocha --require babel-register",
"testcov": "nyc mocha --require babel-register",
"dev": "gulp",
"build": "gulp",
"demo": "gulp --demo"
......@@ -52,6 +53,7 @@
"mocha-lcov-reporter": "^1",
"multiline": "^1",
"nopt": "^4",
"nyc": "^11.6.0",
"prismjs": "^1.6.0",
"query-string": "^5.1.0",
"querystring": "^0.2",
......@@ -140,5 +142,19 @@
"env"
]
},
"nyc": {
"include": [
"lib/**/*.js"
],
"exclude": [
"lib/patterntemplate/**/*"
],
"reporter": [
"clover",
"html",
"text-summary"
],
"report-dir": "./dist/coverage"
},
"private": false
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment