[test] setup istanbul coverage
This commit is contained in:
parent
bdecdc29cf
commit
c8dbede0ca
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,3 +9,4 @@ test/fixtures/*.json
|
||||||
node_modules/
|
node_modules/
|
||||||
node_modules/*
|
node_modules/*
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
coverage
|
|
@ -18,11 +18,13 @@
|
||||||
"yargs": "^3.19.0"
|
"yargs": "^3.19.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"istanbul": "^0.4.1",
|
||||||
"vows": "0.8.x"
|
"vows": "0.8.x"
|
||||||
},
|
},
|
||||||
"main": "./lib/nconf",
|
"main": "./lib/nconf",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vows test/*-test.js test/**/*-test.js --spec"
|
"test": "vows test/*-test.js test/**/*-test.js --spec",
|
||||||
|
"cover": "istanbul cover vows -- test/*-test.js test/**/*-test.js --spec"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 0.4.0"
|
"node": ">= 0.4.0"
|
||||||
|
|
Loading…
Reference in a new issue