Skip to content
This repository was archived by the owner on May 10, 2018. It is now read-only.

Commit 4515601

Browse files
committed
test: setup coveralls
1 parent 9659191 commit 4515601

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"prepublish": "npm run build",
99
"build": "rm -rf dist && tsc -d",
1010
"test": "nyc cucumber-js --compiler ts:ts-node/register test/features/ -r test/step_definitions/ -f json:test/report/cucumber_report.json",
11-
"posttest": "node test/createReport.js",
11+
"posttest": "node test/createReport.js && nyc report --reporter=text-lcov | coveralls",
1212
"semantic-release": "semantic-release"
1313
},
1414
"keywords": [
@@ -42,6 +42,7 @@
4242
"devDependencies": {
4343
"@types/cucumber": "3.1.1",
4444
"@types/node": "8.5.2",
45+
"coveralls": "3.0.0",
4546
"cucumber": "3.2.0",
4647
"nyc": "11.4.1",
4748
"semantic-release": "11.1.0",

yarn.lock

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,16 @@ cosmiconfig@^3.1.0:
607607
parse-json "^3.0.0"
608608
require-from-string "^2.0.1"
609609

610+
611+
version "3.0.0"
612+
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.0.tgz#22ef730330538080d29b8c151dc9146afde88a99"
613+
dependencies:
614+
js-yaml "^3.6.1"
615+
lcov-parse "^0.0.10"
616+
log-driver "^1.2.5"
617+
minimist "^1.2.0"
618+
request "^2.79.0"
619+
610620
cross-spawn@^4:
611621
version "4.0.2"
612622
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
@@ -1532,7 +1542,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2:
15321542
version "3.0.2"
15331543
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
15341544

1535-
js-yaml@^3.9.0:
1545+
js-yaml@^3.6.1, js-yaml@^3.9.0:
15361546
version "3.10.0"
15371547
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"
15381548
dependencies:
@@ -1620,6 +1630,10 @@ lcid@^1.0.0:
16201630
dependencies:
16211631
invert-kv "^1.0.0"
16221632

1633+
lcov-parse@^0.0.10:
1634+
version "0.0.10"
1635+
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3"
1636+
16231637
load-json-file@^1.0.0:
16241638
version "1.1.0"
16251639
resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0"
@@ -1658,6 +1672,10 @@ lodash@^4.0.0, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.2.1:
16581672
version "4.17.4"
16591673
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
16601674

1675+
log-driver@^1.2.5:
1676+
version "1.2.5"
1677+
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.5.tgz#7ae4ec257302fd790d557cb10c97100d857b0056"
1678+
16611679
longest@^1.0.1:
16621680
version "1.0.1"
16631681
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
@@ -2316,7 +2334,7 @@ repeating@^2.0.0:
23162334
dependencies:
23172335
is-finite "^1.0.0"
23182336

2319-
request@^2.74.0:
2337+
request@^2.74.0, request@^2.79.0:
23202338
version "2.83.0"
23212339
resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356"
23222340
dependencies:

0 commit comments

Comments
 (0)