From 9fae9367c1b65e95539ad17980ad10cf7dbfb4a5 Mon Sep 17 00:00:00 2001 From: ArtemKlyuev <36650201+ArtemKlyuev@users.noreply.github.com> Date: Mon, 1 May 2023 15:03:10 +0400 Subject: [PATCH] fix: `postinstall script` --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index bb029e9..89ba5bd 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ }, "homepage": "https://github.com/ArtemKlyuev/esbuild-plugin-d-ts-path-alias", "scripts": { - "postinstall": "patch-package", "typecheck": "tsc --pretty --noEmit", "lint": "eslint '**/*.{js,jsx,ts,tsx}' --quiet", "lint:fix": "yarn lint:js --fix --no-error-on-unmatched-pattern", @@ -44,7 +43,7 @@ "test:watch": "jest --watch", "release:dry-run": "cross-env NODE_ENV=development semantic-release", "cm": "./node_modules/cz-customizable/standalone.js", - "prepare": "husky install" + "prepare": "patch-package && husky install" }, "peerDependencies": { "esbuild": "^0.17.0",