Skip to content

Commit fc98ba6

Browse files
committed
chore(build): add coverall integration
1 parent fccce5d commit fc98ba6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@
33
"description": "Observables for the calorie conscious",
44
"main": "src/Observable",
55
"scripts": {
6-
"test": "ava",
6+
"benchmark": "date >> benchmark.md && node chore/benchmark >> benchmark.md",
77
"cleanup": "rm -rf ./src/**/*.js && rm -rf ./src/**/*.map",
8-
"lint": "tslint ./src/**.ts",
8+
"coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
99
"hydra": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm chore/benchmark.js",
10-
"rfc": "node chore/rfc",
11-
"benchmark": "date >> benchmark.md && node chore/benchmark >> benchmark.md",
10+
"lint": "tslint ./src/**.ts",
1211
"postinstall": "tsc",
13-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
12+
"rfc": "node chore/rfc",
13+
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
14+
"test": "ava"
1415
},
1516
"author": "",
1617
"license": "ISC",
1718
"devDependencies": {
1819
"ava": "^0.16.0",
1920
"benchmark": "^2.1.1",
21+
"coveralls": "^2.11.14",
2022
"cz-conventional-changelog": "^1.2.0",
2123
"es-observable-tests": "^0.3.0",
2224
"ghooks": "^1.3.2",

0 commit comments

Comments
 (0)