From a0ae50efc284bdb8e462a4ffc167fe50793ec5ce Mon Sep 17 00:00:00 2001 From: Chris Sandvik Date: Wed, 13 Jul 2022 15:06:42 -0400 Subject: [PATCH] add npm test to prepublish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 357bf2d..a432ff5 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "lint:types": "tsc --noEmit", "prepare": "husky install", "postpublish": "git push --tags", - "prepublishOnly": "npm run build", + "prepublishOnly": "npm test && npm run build", "test": "jest", "preversion": "git fetch --tags --force" },