From 2d55d3017274b9c19044dd79a2fdab654320accb Mon Sep 17 00:00:00 2001 From: Matthias Seemann Date: Sun, 21 Jul 2024 22:40:53 +0200 Subject: [PATCH] chore: test with coverage only when publishing docs --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 87443f1..e11c68a 100644 --- a/package.json +++ b/package.json @@ -93,8 +93,8 @@ "build:badges": "istanbul-badges-readme --style=\"flat-square\"", "copy_ts_defs_into_root": "cp ./src/*.d.ts .", "postpack": "npm run remove_ts_defs_from_root", - "prepack": "npm run test:coverage && npm run build:cjs && npm run copy_ts_defs_into_root", - "publish:docs": "npm run build:docs && mkdocs gh-deploy", + "prepack": "npm run test && npm run build:cjs && npm run copy_ts_defs_into_root", + "publish:docs": "npm run test:coverage && npm run build:docs && mkdocs gh-deploy", "remove_ts_defs_from_root": "rm -v ./*.d.ts", "test": "mocha", "test:coverage": "c8 mocha",