diff --git a/package.json b/package.json index 920b62e..b738d59 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "format:check": "prettier --check src/ test.mjs test-cjs.cjs eslint.config.mjs tsup.config.ts", "pretest": "tsup", "test": "node --test test.mjs && node --test test-cjs.cjs", - "prepublishOnly": "tsup", + "prepack": "pnpm run build", "coverage": "c8 --reporter=lcov --reporter=text node test.mjs", "docs": "typedoc --out .github/wiki/api src/index.ts", "postbuild": "cp dist/index.d.ts dist/index.d.mts"