Skip to content

Commit

Permalink
[pkg] Replace nyc with c8
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Oct 6, 2020
1 parent 933809d commit 422c8b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules/
.nyc_output/
coverage/
dist/
npm-debug.log
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ matrix:
script:
- "npm run ${SCRIPT}"
after_script:
- 'if [ "${SCRIPT}" == "test" ]; then nyc report --reporter=text-lcov | coveralls; fi'
- 'if [ "${SCRIPT}" == "test" ]; then c8 report --reporter=text-lcov | coveralls; fi'
notifications:
irc:
channels:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"browserify": "rm -rf dist && mkdir -p dist && browserify index.js -s URLParse -o dist/url-parse.js",
"minify": "uglifyjs dist/url-parse.js --source-map -cm -o dist/url-parse.min.js",
"test": "nyc --reporter=html --reporter=text mocha test/test.js",
"test": "c8 --reporter=html --reporter=text mocha test/test.js",
"test-browser": "node test/browser.js",
"prepublishOnly": "npm run browserify && npm run minify",
"watch": "mocha --watch test/test.js"
Expand Down Expand Up @@ -39,9 +39,9 @@
"devDependencies": {
"assume": "^2.2.0",
"browserify": "^16.2.3",
"c8": "^7.3.1",
"coveralls": "^3.1.0",
"mocha": "^8.0.1",
"nyc": "^15.0.0",
"pre-commit": "^1.2.2",
"sauce-browsers": "^2.0.0",
"sauce-test": "^1.3.3",
Expand Down

0 comments on commit 422c8b5

Please sign in to comment.