From 9032801f087a65e58db44827c12c82dcd81f1338 Mon Sep 17 00:00:00 2001 From: Mateo Gianolio Date: Sun, 18 Dec 2016 18:52:01 +0100 Subject: [PATCH] add coverage script to package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ce2b9c9f..b9e0524d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "vectorious.js", "scripts": { "test": "./node_modules/mocha/bin/mocha", - "benchmark": "node ./benchmarks/vector.js && node ./benchmarks/matrix.js" + "benchmark": "node ./benchmarks/vector.js && node ./benchmarks/matrix.js", + "coverage": "istanbul cover _mocha -- -R spec" }, "repository": { "type": "git",