Skip to content

Commit 57d71e1

Browse files
committed
Adds a new npm script: check-cover, which reports the coverage of type checked code.
1 parent 8e62f93 commit 57d71e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"t": "babel-node ./node_modules/.bin/_mocha --require ./resources/mocha-bootload",
4040
"lint": "eslint src",
4141
"check": "flow check",
42+
"check-cover": "for file in {src/*.js,src/**/*.js}; do echo $file; flow coverage $file; done",
4243
"build": "babel src --ignore __tests__ --out-dir dist/ && cp package.json dist/",
4344
"watch": "babel-node ./resources/watch.js",
4445
"cover": "babel-node ./node_modules/.bin/isparta cover --root src --report html _mocha -- $npm_package_options_mocha",

0 commit comments

Comments
 (0)