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": [