From 64b9cedf7b62f633fc67c2bf2b59ae34b9884074 Mon Sep 17 00:00:00 2001 From: Clinton Dreisbach Date: Thu, 14 Nov 2024 11:25:25 -0500 Subject: [PATCH] Disable tests on publish --- package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9dfb3d8..96d842a 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint": "eslint src", "pretest": "npm run lint", "test": "mocha test", - "prepublish": "in-publish && npm run test && npm run build || not-in-publish", + "prepublish": "in-publish && npm run build || not-in-publish", "publish:major": "npm version major && npm publish", "publish:minor": "npm version minor && npm publish", "publish:patch": "npm version patch && npm publish", @@ -82,5 +82,13 @@ "access": "restricted", "registry": "https://packages.atlassian.com/api/npm/atlassian-npm/", "@loomhq:registry": "https://packages.atlassian.com/api/npm/atlassian-npm/" + }, + "mocha": { + "require": [ + "@babel/register", + "test/setup" + ], + "check-leaks": true, + "throw-deprecation": true } } \ No newline at end of file