diff --git a/package.json b/package.json index 779226c..cb74de9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "types": "./@types/index.d.ts", "scripts": { "build": "tsc", - "watch": "npm run build -- --watch" + "watch": "npm run build -- --watch", + "postinstall": "npm run build" }, "repository": "gitea@git.kuba-orlik.name:kuba/async-spawner.git", "author": "Kuba Orlik",