Skip to content

Commit 0a228f1

Browse files
committed
Merge pull request faceyspacey#148 from pgilad/patch-3
Simplify coverage task. Add coverage to gitignore
2 parents 2845af9 + 65c958e commit 0a228f1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/node_modules
22
/example/assets
33
/test/js
4+
5+
/coverage

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"scripts": {
3434
"test": "mocha",
3535
"travis": "npm run cover -- --report lcovonly",
36-
"cover": "istanbul cover node_modules/mocha/bin/_mocha",
36+
"cover": "istanbul cover _mocha",
3737
"publish-patch": "mocha && npm version patch && git push && git push --tags && npm publish"
3838
}
3939
}

0 commit comments

Comments
 (0)