Skip to content

Commit 6fb6032

Browse files
authored
build(patch-package): run patch-package in 'development' only (#1086)
1 parent 764194f commit 6fb6032

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
],
1111
"scripts": {
1212
"clean": "rm -rf dist coverage tsconfig.tsbuildinfo .eslintcache",
13-
"postinstall": "patch-package",
1413
"install:all": "yarn && (cd examples && yarn)",
1514
"lint": "yarn prettier && yarn eslint",
1615
"lint:fix": "yarn prettier:fix && yarn eslint:fix",
@@ -21,7 +20,7 @@
2120
"build": "tsc --build",
2221
"test": "jest",
2322
"coverage": "jest --coverage",
24-
"prepare": "husky",
23+
"prepare": "husky && patch-package",
2524
"prepack": "yarn clean && yarn test && yarn build",
2625
"spellcheck": "npx --yes cspell --show-context --show-suggestions '**/*.*'"
2726
},

0 commit comments

Comments
 (0)