Determine code coverage during tests (#17)


diff --git a/.gitignore b/.gitignore
index 5e0f4b6..fd547b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,4 +14,5 @@
 config.gypi
 CVS
 node_modules/*
-node_module/.bin/*
\ No newline at end of file
+node_module/.bin/*
+.nyc_output/
diff --git a/package.json b/package.json
index 6893db8..db8a1b4 100644
--- a/package.json
+++ b/package.json
@@ -44,12 +44,14 @@
     "eslint-plugin-promise": "^3.5.0",
     "eslint-plugin-standard": "^3.0.1",
     "jasmine": "^3.1.0",
+    "nyc": "^11.7.3",
     "rewire": "^4.0.1"
   },
   "scripts": {
-    "test": "npm run eslint && npm run jasmine",
+    "test": "npm run eslint && npm run cover",
     "eslint": "eslint index.js spec/create.spec.js",
-    "jasmine": "jasmine spec/create.spec.js"
+    "jasmine": "jasmine spec/create.spec.js",
+    "cover": "nyc -x spec/ npm run jasmine"
   },
   "contributors": [
     {