From a547a41e925f5974d334f24b625129cd94636fb8 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Sat, 7 Nov 2020 13:08:00 +0300 Subject: [PATCH] istanbul => nyc --- .gitignore | 3 ++- package.json | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 699f234..21a232f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ +.nyc_output doc/ node_modules/ coverage/ test/browser/pako.js -v8.log +*.log diff --git a/package.json b/package.json index d1c36ab..2efe2d0 100644 --- a/package.json +++ b/package.json @@ -25,16 +25,18 @@ "license": "(MIT AND Zlib)", "repository": "nodeca/pako", "scripts": { - "test": "make test" + "lint": "eslint .", + "test": "npm run lint && mocha", + "coverage": "npm run lint && nyc mocha && nyc report --reporter html" }, "devDependencies": { "browserify": "^16.2.3", "buffer-from": "^1.1.1", "eslint": "^7.13.0", - "istanbul": "^0.4.5", "mocha": "^8.2.1", "multiparty": "^4.1.3", "ndoc": "^5.0.1", + "nyc": "^15.1.0", "uglify-js": "=3.4.8" }, "dependencies": {}