istanbul => nyc

This commit is contained in:
Vitaly Puzrin 2020-11-07 13:08:00 +03:00
parent 97a1085729
commit a547a41e92
2 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,5 +1,6 @@
.nyc_output
doc/ doc/
node_modules/ node_modules/
coverage/ coverage/
test/browser/pako.js test/browser/pako.js
v8.log *.log

View file

@ -25,16 +25,18 @@
"license": "(MIT AND Zlib)", "license": "(MIT AND Zlib)",
"repository": "nodeca/pako", "repository": "nodeca/pako",
"scripts": { "scripts": {
"test": "make test" "lint": "eslint .",
"test": "npm run lint && mocha",
"coverage": "npm run lint && nyc mocha && nyc report --reporter html"
}, },
"devDependencies": { "devDependencies": {
"browserify": "^16.2.3", "browserify": "^16.2.3",
"buffer-from": "^1.1.1", "buffer-from": "^1.1.1",
"eslint": "^7.13.0", "eslint": "^7.13.0",
"istanbul": "^0.4.5",
"mocha": "^8.2.1", "mocha": "^8.2.1",
"multiparty": "^4.1.3", "multiparty": "^4.1.3",
"ndoc": "^5.0.1", "ndoc": "^5.0.1",
"nyc": "^15.1.0",
"uglify-js": "=3.4.8" "uglify-js": "=3.4.8"
}, },
"dependencies": {} "dependencies": {}