diff --git a/package.json b/package.json index 9342de0..ec6a774 100644 --- a/package.json +++ b/package.json @@ -25,10 +25,11 @@ "check:fix": "biome check --write .", "build": "tsup", "build:clean": "npm run clean && npm run build", + "prepublishOnly": "npm run build:clean", "pack": "npm pack", "pack:clean": "rm -rf *.tgz && npm run pack", "prebuild": "npm run type-check", - "type-check": "tsc --noEmit" + "type-check": "tsc --noEmit", }, "license": "LGPL-3.0-or-later", "homepage": "https://github.com/otterjs/csrf-csrf",