Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit 1d86d31

Browse files
committed
Improve default scripts
1 parent 9294c1f commit 1d86d31

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ script:
1313

1414
after_success:
1515
- npm run coverage
16-
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
16+
- npm run report

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"build": "babel -d ./dist ./lib",
1010
"test": "NODE_ENV=test nyc ava",
1111
"coverage": "NODE_ENV=test nyc report --reporter=text-lcov",
12+
"report": "nyc report --reporter=text-lcov | coveralls",
1213
"lint": "eslint ./lib",
1314
"docs": "documentation build -f html -o docs",
1415
"deploy:docs": "buildbranch gh-pages docs",

0 commit comments

Comments
 (0)