Enable coverage on travis

This commit is contained in:
Daniel Tschinder
2016-07-12 22:20:31 +02:00
parent 15a391d305
commit 47d11ae084
4 changed files with 18 additions and 7 deletions

View File

@@ -25,6 +25,7 @@
"babel-preset-stage-0": "^6.5.0",
"kcheck": "^2.0.1",
"lodash": "^4.6.1",
"nyc": "^7.0.0",
"unicode-9.0.0": "~0.7.0"
},
"bin": {
@@ -32,8 +33,10 @@
},
"scripts": {
"test": "npm run build && npm run lint && ava test/",
"test_cov": "npm run build && npm run lint && nyc ava test/",
"lint": "kcheck",
"build": "babel src --out-dir lib",
"preversion": "npm run test",
"watch": "babel src --out-dir lib --watch"
}
}