Skip to content

Commit 943d96c

Browse files
committed
add open:coverage script
1 parent 334ef82 commit 943d96c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"build": "rimraf lib && babel src --out-dir lib",
1616
"test": "NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha",
1717
"prepublish": "npm run lint && flow && npm test && npm run build && npm run copy-flow-files",
18-
"postpublish": "git tag -a v$npm_package_version -m v$npm_package_version && git push origin v$npm_package_version"
18+
"postpublish": "git tag -a v$npm_package_version -m v$npm_package_version && git push origin v$npm_package_version",
19+
"open:coverage": "open coverage/lcov-report/index.html"
1920
},
2021
"config": {
2122
"mocha": "--compilers js:babel-core/register ./test/**/*.js"

0 commit comments

Comments
 (0)