Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit ad002d8

Browse files
committed
Adds coveralls.
1 parent 1465a40 commit ad002d8

File tree

2 files changed

+199
-1
lines changed

2 files changed

+199
-1
lines changed

package-lock.json

Lines changed: 195 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"@types/storybook__react": "3.0.3",
6262
"ava": "0.21.0",
6363
"babel-preset-react": "6.24.1",
64+
"coveralls": "^2.13.1",
6465
"electron": "1.7.5",
6566
"electron-builder": "19.19.1",
6667
"fuse-box": "2.2.2-beta.12",
@@ -101,7 +102,9 @@
101102
"check:test": "tsc -p tsconfig.test.json --noEmit --pretty",
102103
"clean": "rm -rf .fusebox out dist out-test",
103104
"compile": "NODE_ENV=production ts-node fuse",
104-
"coverage": "npm-run-all test:clean test:compile && nyc --reporter=lcov --reporter=html --reporter=text ava",
105+
"coverage:upload": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
106+
"coverage:report": "nyc --reporter=lcov --reporter=html --reporter=text ava",
107+
"coverage": "npm-run-all test:clean test:compile coverage:report",
105108
"dist": "electron-builder --mac --win --linux --ia32 --x64",
106109
"draft": "electron-builder -p always --draft --mac --win --linux --ia32 --x64",
107110
"info": "npm-scripts-info",

0 commit comments

Comments
 (0)