From c7ee31ec4ea9fa323551a0946ad6d472b4d11c8e Mon Sep 17 00:00:00 2001 From: Jacek Bogdanski Date: Wed, 7 Feb 2024 14:06:12 +0100 Subject: [PATCH] Restored pre-version. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 5f8c7af..ebc0719 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "bump": "node ./scripts/bump.js", "publish:dry": "npm publish dist/ --dry-run", "publish": "npm publish dist/", + "preversion": "npm run test", "version": "npm run build-package && git add -f dist/", "postversion": "git rm -r --cached dist/ && git commit -m \"Clean after release [ci skip]\" && git push origin && git push origin --tags" },