From 9ea9c53531cc694ce6f8fb3efec264f6d43723ba Mon Sep 17 00:00:00 2001 From: Sam Gaus Date: Mon, 11 Sep 2023 11:25:33 +0100 Subject: [PATCH] Use prepack --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3504c28..4eb1603 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "docs": "yarn run typedoc", "format": "yarn run prettier --write src/**/* examples/**/*", "lint": "yarn run eslint lib tests/lib --ext .ts", - "prepublishOnly": "yarn run build && yarn run updateData", + "prepack": "yarn run build && yarn run updateData", "test": "mocha tests --recursive --extension ts --require ts-node/register", "updateData": "ts-node update-data.ts", "watch": "yarn run tsc --watch"