Skip to content

Commit 109956e

Browse files
committed
1.3.3 Added documentation for tscov
1 parent f60de6d commit 109956e

File tree

4 files changed

+38
-8
lines changed

4 files changed

+38
-8
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ A full stack starter app containing [Angular 7](https://angular.io), [Material](
2626

2727
[Generate technical documentation automatically with Compodoc](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/COMPODOC.md)
2828

29+
## Check your type coverage
30+
31+
[See your type coverage with tscov](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/TSCOV.md)
32+
2933
## Future updates
3034

3135
[To do and finish list](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/TODO.md)

docs/TSCOV.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# tscov automated type coverage
2+
3+
[Compodoc](https://github.com/jeroenouw/tscov) checks the type coverage of any TypeScript project.
4+
5+
## How to run
6+
7+
See output type coverage (minimum coverage is set by 90%)
8+
9+
```cmd
10+
npm run tscov
11+
```
12+
13+
See output type coverage with details
14+
15+
```cmd
16+
npm run tscov:d
17+
```

package-lock.json

Lines changed: 12 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngxmatfire",
3-
"version": "1.3.2",
3+
"version": "1.3.3",
44
"author": "Jeroen Ouwehand",
55
"description": "Full stack starter app with Angular 7, Material Design and Firebase.",
66
"keywords": [
@@ -31,9 +31,10 @@
3131
"compodoc:g": "compodoc -p src/tsconfig.app.json",
3232
"compodoc:s": "compodoc -p src/tsconfig.app.json --serve",
3333
"compodoc:w": "compodoc -p src/tsconfig.app.json --serve --watch",
34+
"tscov": "tscov -m 90",
35+
"tscov:d": "tscov --details",
3436
"link-upstream": "git remote add upstream https://github.com/jeroenouw/AngularMaterialFirebase",
35-
"sync": "git fetch && git checkout master && git merge upstream/master && git push",
36-
"tscov": "tscov -m 90"
37+
"sync": "git fetch && git checkout master && git merge upstream/master && git push"
3738
},
3839
"dependencies": {
3940
"@angular/animations": "^7.1.0",
@@ -78,7 +79,7 @@
7879
"protractor": "^5.4.1",
7980
"rxjs-tslint": "^0.1.5",
8081
"ts-node": "^7.0.1",
81-
"tscov": "^1.1.0",
82+
"tscov": "^1.3.3",
8283
"tslint": "^5.12.0",
8384
"typescript": "^3.1.6",
8485
"webpack": "^4.28.2"

0 commit comments

Comments
 (0)