From 46685a2b824b061466d870d515f7a95aaf39c733 Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sat, 6 May 2017 00:10:55 +0200 Subject: [PATCH] codecov fix5 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6b3cfed..6153038 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "setup": "npm install && npm run typings-install", "start": "tsc && node ./src/index.js", "test": "istanbul cover ./node_modules/mocha/bin/_mocha test/**/*.js --reporter lcovonly -- -R spec", - "posttest": "codecov" + "posttest": "remap-istanbul -i ./coverage/coverage.json -o ./coverage/coverage-remapped.json & codecov --file ./coverage/coverage-remapped.json -t a0408113-95c4-4fea-92e3-f63e11949ac2" }, "repository": { "type": "git", @@ -40,6 +40,7 @@ "codecov": "^2.1.0", "istanbul": "^0.4.5", "mocha": "^3.3.0", + "remap-istanbul": "^0.9.5", "sinon": "^2.2.0", "sinon-chai": "^2.10.0", "typings": "^2.1.0"