From 1ac5a06bf711c93449c7efe6b17f1e7c9e537e11 Mon Sep 17 00:00:00 2001 From: Arthur Denner Date: Fri, 26 Oct 2018 11:00:05 -0300 Subject: [PATCH] fix(package.json): Replacing `postinstall` with `prepare` script (#14) `postinstall` runs after the package is installed on another project while `prepare` only run in build steps and local installations --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c06754ef..293e1b88 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint": "kcd-scripts lint", "precommit": "kcd-scripts precommit", "predeploy": "npm run storybook:build", - "postinstall": "cd date-fns-v2/ && npm install", + "prepare": "cd date-fns-v2/ && npm install", "semantic-release": "semantic-release", "storybook": "start-storybook -p 9001 -c stories", "storybook:build": "build-storybook -c stories",