Skip to content

Commit d1b3a59

Browse files
committedJun 17, 2019
Created an NYC config file
1 parent 75e91e7 commit d1b3a59

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
 

‎.nycrc.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# NYC config
2+
# https://github.com/istanbuljs/nyc#configuration-files
3+
4+
all: true
5+
6+
extension:
7+
- .js
8+
- .ts
9+
10+
reporter:
11+
- text
12+
- lcov

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "tsc",
3131
"watch": "tsc --watch",
3232
"test": "mocha && npm run lint",
33-
"coverage": "nyc --reporter=text --reporter=lcov mocha",
33+
"coverage": "nyc mocha",
3434
"upgrade": "npm-check -u",
3535
"bump": "bump --tag --push --all",
3636
"release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump"

0 commit comments

Comments
 (0)
Failed to load comments.