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",