diff --git a/.gitignore b/.gitignore index a72b52e..634d1b1 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ results npm-debug.log node_modules +coverage diff --git a/package.json b/package.json index 1b7c540..cb86f0e 100644 --- a/package.json +++ b/package.json @@ -32,12 +32,13 @@ ":main": "./lib/nodemon", "main": "./test/fixtures/app.js", "scripts": { - "test": "mocha --ui bdd --reporter spec test/**/*.test.js" + "test": "istanbul cover _mocha -- --ui bdd --reporter spec test/**/*.test.js" }, "devDependencies": { "connect": "*", "mocha": "~1.12.0", - "should": "~1.2.2" + "should": "~1.2.2", + "istanbul": "~0.1.44" }, "dependencies": { "update-notifier": "~0.1.5"