Browse Source

package: use nyc for coverage

hk-custom-address
Daniel Cousens 9 years ago
parent
commit
dc86a74f0b
  1. 1
      .gitignore
  2. 23
      package.json

1
.gitignore

@ -1,2 +1,3 @@
coverage coverage
node_modules node_modules
.nyc_output

23
package.json

@ -32,8 +32,8 @@
} }
], ],
"scripts": { "scripts": {
"coverage": "mocha --require blanket -R travis-cov", "coverage-report": "nyc report --reporter=lcov",
"coverage-local": "mocha --require blanket -R html-cov", "coverage": "nyc --check-coverage --branches 90 --functions 90 mocha",
"integration": "mocha test/integration/", "integration": "mocha test/integration/",
"prepublish": "npm run test", "prepublish": "npm run test",
"standard": "standard", "standard": "standard",
@ -47,20 +47,6 @@
"files": [ "files": [
"src" "src"
], ],
"config": {
"blanket": {
"pattern": [
""
],
"data-cover-never": [
"node_modules",
"test"
]
},
"travis-cov": {
"threshold": 99
}
},
"dependencies": { "dependencies": {
"bigi": "^1.4.0", "bigi": "^1.4.0",
"bip66": "^1.1.0", "bip66": "^1.1.0",
@ -77,17 +63,16 @@
}, },
"devDependencies": { "devDependencies": {
"async": "^1.5.0", "async": "^1.5.0",
"blanket": "^1.1.0",
"browserify": "^10.0.0", "browserify": "^10.0.0",
"bs58": "^2.0.1", "bs58": "^2.0.1",
"cb-http-client": "^0.2.0", "cb-http-client": "^0.2.0",
"httpify": "^1.0.0", "httpify": "^1.0.0",
"minimaldata": "^1.0.0", "minimaldata": "^1.0.0",
"mocha": "^2.2.0", "mocha": "^2.2.0",
"nyc": "^8.1.0",
"proxyquire": "^1.4.0", "proxyquire": "^1.4.0",
"sinon": "^1.12.2", "sinon": "^1.12.2",
"standard": "^8.0.0", "standard": "^8.0.0"
"travis-cov": "^0.2.0"
}, },
"license": "MIT" "license": "MIT"
} }

Loading…
Cancel
Save