From bd0e86d3136d14082636f6b1af7c759471d6351c Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Mon, 8 Jun 2020 11:53:12 +0200 Subject: [PATCH] chore(project): build distribution before bumping the version This ensures we build (and test) the to-be-published thing before we tag the tool. This also ensures that the actual npm publish step is a as simple as possible activity, which it should be. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 77e5db01..c62e6d5c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "test": "karma start test/config/karma.unit.js", "distro": "node tasks/build-distro.js", "test:distro": "node tasks/test-distro.js", - "prepublishOnly": "run-s distro test:distro" + "preversion": "run-s distro test:distro" }, "repository": { "type": "git",