[Pkg-javascript-commits] [node-stack-utils] 02/67: add nyc coverage

Bastien Roucariès rouca at moszumanska.debian.org
Thu Sep 7 09:53:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-stack-utils.

commit 81caa295d0651ef399c3798887fd1beb757e9544
Author: James Talmage <james at talmage.io>
Date:   Sun Jan 3 18:23:07 2016 -0500

    add nyc coverage
---
 .gitignore   | 2 ++
 package.json | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 3c3629e..1fd04da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
 node_modules
+coverage
+.nyc_output
diff --git a/package.json b/package.json
index cdfe2f6..1da558b 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
     "node": ">=0.10.0"
   },
   "scripts": {
-    "test": "xo && ava"
+    "test": "xo && nyc --reporter lcov --reporter text --cache ava --verbose"
   },
   "files": [
     "index.js"
@@ -24,6 +24,7 @@
   "dependencies": {},
   "devDependencies": {
     "ava": "^0.8.0",
+    "nyc": "^5.2.0",
     "xo": "^0.12.1"
   }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stack-utils.git



More information about the Pkg-javascript-commits mailing list