Skip to content

Commit

Permalink
build: use type-coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Nov 12, 2018
1 parent cb1c2ef commit 5737725
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/github/plantain-00/tree-component?branch=master&svg=true)](https://ci.appveyor.com/project/plantain-00/tree-component/branch/master)
[![npm version](https://badge.fury.io/js/tree-component.svg)](https://badge.fury.io/js/tree-component)
[![Downloads](https://img.shields.io/npm/dm/tree-component.svg)](https://www.npmjs.com/package/tree-component)
[![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Fplantain-00%2Ftree-component%2Fmaster%2Fpackage.json)](https://github.com/plantain-00/tree-component)

A reactjs, angular and vuejs tree component.

Expand Down
2 changes: 1 addition & 1 deletion clean-scripts.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = {
export: `no-unused-export ${tsFiles} ${lessFiles} --exclude ${excludeTsFiles}`,
commit: `commitlint --from=HEAD~1`,
markdown: `markdownlint README.md`,
typeCoverage: 'lerna exec -- type-coverage -p src --at-least 93'
typeCoverage: 'lerna exec -- type-coverage -p src'
},
test: [
'tsc -p spec',
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"bugs": {
"url": "https://github.com/plantain-00/tree-component/issues"
},
"typeCoverage": {
"atLeast": 93
},
"homepage": "https://github.com/plantain-00/tree-component#readme",
"devDependencies": {
"@angular/compiler": "7.0.3",
Expand Down

0 comments on commit 5737725

Please sign in to comment.