diff --git a/package.json b/package.json index a93133f..0247b64 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "typescript": "^5.2.2" }, "scripts": { - "build": "tsc", - "up": "tsc && yarn publish dist" + "build": "rm -rf ./dist && tsc", + "up": "yarn build && yarn publish dist" } }