Skip to content

Commit

Permalink
Merge pull request #33 from hexojs/dependabot/npm_and_yarn/nyc-tw-14.1.1
Browse files Browse the repository at this point in the history
Update nyc requirement from ^11.3.0 to ^14.1.1
  • Loading branch information
segayuu committed Jul 30, 2019
2 parents 841235d + eddd0c5 commit 480c366
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ node_modules/
tmp/
*.log
.idea/
coverage/
.nyc_output
.nyc_output/
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ node_js:
- "node"

script:
- npm test
- npm run eslint
- npm run test-cov

after_script:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- nyc report --reporter=text-lcov | coveralls
14 changes: 4 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "index",
"scripts": {
"clean": "rm -rf .nyc_output coverage",
"test-style": "eslint .",
"test-mocha": "nyc mocha --timeout=9000",
"test": "run-s test-*"
"eslint": "eslint .",
"test": "mocha test/index.js",
"test-cov": "nyc npm run test"
},
"directories": {
"lib": "./lib"
Expand All @@ -34,12 +34,6 @@
"eslint-config-hexo": "^3.0.0",
"mocha": "^6.1.4",
"npm-run-all": "^4.1.5",
"nyc": "^11.9.0"
},
"nyc": {
"reporter": [
"lcov",
"text-summary"
]
"nyc": "^14.1.1"
}
}

0 comments on commit 480c366

Please sign in to comment.