From 489bb4536b2230ee4a301b97dc56742716237fa9 Mon Sep 17 00:00:00 2001 From: a flying potato <80830782+a-flying-potato@users.noreply.github.com> Date: Mon, 27 Jun 2022 14:30:15 +0200 Subject: [PATCH] :robot: test: Add cover script. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 38b8e5d..268b4cd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "build": "NODE_ENV=production microbundle", "build-docs": "esdoc", "lint": "true", - "prepare": "npm run build" + "prepare": "npm run build", + "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test" }, "description": "type checking code bricks for JavaScript", "keywords": [