Skip to content

Commit

Permalink
✨ Enable code cov (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
kefranabg committed Jun 8, 2019
1 parent 79cfbbf commit 46d21b5
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
node_modules
/report
/coverage

# Log files
npm-debug.log*
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<p>
<img src="https://img.shields.io/badge/version-0.1.0-blue.svg?cacheSeconds=2592000" />
<img src="https://img.shields.io/jsdelivr/npm/hm/readme-md-generator.svg">
<a href="https://codecov.io/gh/kefranabg/readme-md-generator">
<img src="https://codecov.io/gh/kefranabg/readme-md-generator/branch/master/graph/badge.svg" />
</a>
<a href="https://greenkeeper.io/">
<img alt="Greenkeeper" src="https://badges.greenkeeper.io/kefranabg/readme-md-generator.svg" target="_blank" />
</a>
Expand Down
85 changes: 85 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
"yargs": "^13.2.4"
},
"devDependencies": {
"codecov": "^3.5.0",
"jest": "^24.8.0"
},
"scripts": {
"lint": "eslint src/**",
"prettier:check": "prettier \"**/*.{js,md,json}\" --list-different",
"test": "jest"
"test": "jest --coverage && codecov"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 46d21b5

Please sign in to comment.