diff --git a/.gitignore b/.gitignore index ec43995..af1c85e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ test/fixtures/*.json node_modules/ node_modules/* npm-debug.log +coverage \ No newline at end of file diff --git a/package.json b/package.json index a1c13e1..903fdef 100644 --- a/package.json +++ b/package.json @@ -18,11 +18,13 @@ "yargs": "^3.19.0" }, "devDependencies": { + "istanbul": "^0.4.1", "vows": "0.8.x" }, "main": "./lib/nconf", "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": { "node": ">= 0.4.0"