From 16e62626dca7d4debbcf20864de7ecfa469aad2b Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sun, 21 Mar 2021 12:05:27 +0100 Subject: [PATCH] Add postinstall script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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",