update coverage library

This commit is contained in:
Yi-Cyuan Chen
2017-11-19 16:36:30 +08:00
parent 4e5354859f
commit 3204c3743e
7 changed files with 1633 additions and 116 deletions
+11 -6
View File
@@ -5,16 +5,16 @@
"main": "src/sha256.js",
"devDependencies": {
"expect.js": "~0.3.1",
"jscoverage": "~0.5.9",
"mocha": "~2.3.4",
"uglifyjs": "~2.4.10",
"nyc": "^11.3.0",
"uglify-js": "^3.1.9",
"webworker-threads": "^0.7.13"
},
"scripts": {
"test": "mocha tests/node-test.js -r jscoverage",
"report": "mocha tests/node-test.js -r jscoverage --covout=html",
"coveralls": "mocha tests/node-test.js -R mocha-lcov-reporter -r jscoverage | coveralls",
"build": "uglifyjs src/sha256.js --compress --mangle --comments --output build/sha256.min.js"
"test": "nyc mocha tests/node-test.js",
"report": "nyc --reporter=html --reporter=text mocha tests/node-test.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"build": "uglifyjs src/sha256.js -c -m eval --comments -o build/sha256.min.js"
},
"repository": {
"type": "git",
@@ -35,5 +35,10 @@
"homepage": "https://github.com/emn178/js-sha256",
"bugs": {
"url": "https://github.com/emn178/js-sha256/issues"
},
"nyc": {
"exclude": [
"tests"
]
}
}