Skip to content

Commit

Permalink
nyc: Switch config from JSON to YAML and move args from package.json (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed May 6, 2019
1 parent d69c533 commit e90a5ca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .nycrc

This file was deleted.

8 changes: 8 additions & 0 deletions .nycrc.yml
@@ -0,0 +1,8 @@
include:
- "src/"
exclude:
- "src/polyfills"
clean: true
temp-directory: "coverage"
skip-full: true
reporter: [json, html, text]
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -26,7 +26,7 @@
"test": "npm run lint && npm run check && npm run testonly",
"test:ci": "npm run lint -- --no-cache && npm run check && npm run testonly:cover",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc --clean --skip-full --reporter json --reporter html --reporter text -- npm run testonly",
"testonly:cover": "nyc npm run testonly",
"lint": "eslint --cache --report-unused-disable-directives src",
"benchmark": "node ./resources/benchmark.js",
"prettier": "prettier --write --list-different 'src/**/*.js'",
Expand Down

0 comments on commit e90a5ca

Please sign in to comment.