From f2638d4d74f4f5fcbd9f38703638004aafd00817 Mon Sep 17 00:00:00 2001 From: Brian Kaney Date: Mon, 24 Jun 2019 16:06:22 -0400 Subject: [PATCH] Use npm instead of yarn for code coverage. See: https://github.com/yarnpkg/yarn/issues/6746 --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7bea24c2..c81b35f7 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ ], "engines": { "node": ">=8.10.0", - "yarn": ">= 1.3.2" + "yarn": "1.10.1" }, "main": "lib/client.js", "module": "lib/client.mjs", @@ -22,8 +22,8 @@ "test": "mocha test --require esm --reporter spec", "test:watch": "chokidar --initial './lib' './test' './examples' -c 'yarn test'", "watch": "yarn test:watch & yarn lint:watch", - "coveralls": "nyc yarn test && nyc report --reporter=text-lcov | coveralls", - "coveralls:report": "nyc --reporter=lcov --reporter=text-lcov npm test" + "coveralls": "nyc --require esm --extension .mjs --reporter text-lcov npm test | coveralls", + "coveralls:report": "nyc --require esm --extension .mjs --reporter text-summary npm test" }, "author": "Vermonster", "license": "MIT",