From 8dd7e56996df2e90afc4fd9c817cc880016f287a Mon Sep 17 00:00:00 2001 From: Daniel Kaluza Date: Sun, 5 Nov 2023 12:46:46 +0100 Subject: [PATCH] chore: Add postinstall script to allow from git installation --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fde87aea8..40c7e3f72 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "clean": "rimraf ./dist ./test/generated ./test/e2e/generated ./samples/generated ./coverage ./node_modules/.cache", "build": "rollup --config --environment NODE_ENV:development", "build:watch": "rollup --config --environment NODE_ENV:development --watch", + "postinstall": "npm run build", "release": "rollup --config --environment NODE_ENV:production", "validate": "tsc --project tsconfig.json --noEmit", "run": "node ./test/index.js", @@ -122,4 +123,4 @@ "resolutions": { "node-fetch": "2.6.7" } -} +} \ No newline at end of file