From 09aa81100c29c56e4e12ccb15f69a09185ad06e3 Mon Sep 17 00:00:00 2001 From: Brandon Lenz Date: Fri, 19 Feb 2021 14:49:54 -0500 Subject: [PATCH] disable postinstall script for non-dev (packaged) --- .husky/.gitignore | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/.gitignore b/.husky/.gitignore index 31354ec138..c9cdc63b07 100644 --- a/.husky/.gitignore +++ b/.husky/.gitignore @@ -1 +1 @@ -_ +_ \ No newline at end of file diff --git a/package.json b/package.json index 3b9636f410..b045301ff8 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint": "tsc --noEmit && eslint --ext js,jsx,ts,tsx src && stylelint \"src/**/*.{css,scss}\"", "release": "standard-version -t ''", "prepare": "yarn build", - "prepublishOnly": "yarn test && yarn lint", + "prepublishOnly": "yarn test && yarn lint && pinst --disable", "happo": "happo", "happo-ci": "happo-ci-circleci", "example:install": "yarn build && cd example/ && yarn",