From e269316d1fdefcd40f2b81629b1ee8f9d118ec9e Mon Sep 17 00:00:00 2001 From: StreetStrider Date: Fri, 26 Feb 2016 20:08:45 +0300 Subject: [PATCH] istanbul-coveralls. --- .travis.yml | 2 ++ package.json | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ab781da..17ab0c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,3 +2,5 @@ language: node_js node_js: - '4' - '5' +after_success: + - 'npm run cover && npm run coveralls' diff --git a/package.json b/package.json index e2501aa..58e56ec 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,9 @@ "scripts": { - "test": "mocha", - "cover": "istanbul cover _mocha" + "test": "mocha", + "cover": "istanbul cover _mocha", + "coveralls": "istanbul-coveralls" }, "dependencies": @@ -44,6 +45,9 @@ "istanbul": "^0.4", + "istanbul-coveralls": + "^1", + "lodash.defer": "^4",