From 24c5398eb4f1ab9b8d8c47ed666b1d70363d5451 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 14 Dec 2023 16:14:51 +0100 Subject: [PATCH] chore: add `prepare` script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0bcabb4..a66c5fd 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "bundle": "microbundle --target node --generateTypes false --sourcemap false --format esm,cjs", "lint": "eslint .", "lint:types": "tsc --noEmit", - "test": "mocha test/spec/*.{cjs,js}" + "test": "mocha test/spec/*.{cjs,js}", + "prepare": "npm run bundle" }, "type": "module", "source": "./src/index.js",