From 5cbd9f068efe9868aec2bf04e39f0f179bda29a9 Mon Sep 17 00:00:00 2001 From: Oscar Lee-Vermeren Date: Tue, 5 Mar 2024 21:19:59 -0500 Subject: [PATCH] chore: add prepack script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 6174836..90933e7 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "build": "node-pre-gyp configure build package && tsc --build", "build:from-source": "node-pre-gyp install --fallback-to-build --build-from-source", "test": "node-pre-gyp configure build && vitest run ./lib/index.test.ts", + "prepack": "yarn build", "style": "yarn run lint:fix && prettier", "lint": "eslint src --ext .ts", "lint:fix": "yarn run lint -- --fix",