From 7c4f6c4d552d2778626966d0fd921d1bfbb9cb9f Mon Sep 17 00:00:00 2001 From: Vitaly Gashkov Date: Fri, 10 May 2024 21:32:19 +0500 Subject: [PATCH] fix: change postinstall to prepare --- package-lock.json | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index bcc6fef..b59780c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "streamyx", "version": "4.0.0-beta.23", - "hasInstallScript": true, "dependencies": { "@streamyx/crunchyroll": "file:packages/crunchyroll", "@streamyx/wink": "file:packages/wink", diff --git a/package.json b/package.json index d696d61..b65a6ee 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "streamyx": "dist/src/main.js" }, "scripts": { - "postinstall": "tsc", + "prepare": "tsc", "watch": "tsc --watch", "start": "tsc && node .", "build": "tsc && pkg . --public -t node20-win-x64,node20-macos-x64,node20-macos-arm64,node20-linux-x64 --out-path ./build/",