diff --git a/.gitignore b/.gitignore index e5a709278..d1ddc139e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ source/css/style.css.map public !test/patterns/public/.gitkeep !test/patterns/testDependencyGraph.json +.nyc_output/ diff --git a/package.json b/package.json index 1788cc398..3291d547f 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ }, "devDependencies": { "eslint": "^3.5.0", + "nyc": "10.1.2", "rewire": "^2.5.2", "tap": "^7.1.2" }, @@ -51,7 +52,7 @@ ], "license": "MIT", "scripts": { - "test": "eslint core/**/*.js && tap test/*_tests.js --reporter spec", + "test": "eslint core/**/*.js && nyc tap test/*_tests.js --reporter spec", "lint": "eslint core/**/*.js" }, "engines": {