From 54d75c8f7fc8d1c4595cc059fcd4e99c52b05271 Mon Sep 17 00:00:00 2001 From: clarkio Date: Fri, 19 Aug 2022 17:07:19 -0400 Subject: [PATCH] fix: add prepack script to build package --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ac82c62..fa95893 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs", "build:cjs": "tsc -p ./configs/tsconfig.cjs.json", "test": "mocha", - "semantic-release": "semantic-release" + "semantic-release": "semantic-release", + "prepack": "npm run build" }, "release": { "branches": [