Skip to content

Commit

Permalink
fixup coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
pierce-h committed May 18, 2020
1 parent a436292 commit 1636839
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .nycrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# NYC config
# https://github.com/istanbuljs/nyc#configuration-files

extension:
- .js
- .ts

reporter:
- text
- lcov
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
},
"engineStrict": true,
"scripts": {
"clean": "shx rm -rf lib",
"clean": "shx rm -rf .nyc_output coverage lib",
"lint": "npm run lint:typescript && npm run lint:javascript",
"coverage": "nyc npm run test",
"coverage": "nyc node_modules/mocha/bin/mocha",
"lint:typescript": "tslint -p tsconfig.json",
"lint:javascript": "eslint test",
"build": "tsc",
Expand Down

0 comments on commit 1636839

Please sign in to comment.