Skip to content

Commit

Permalink
fix: move patch-package to prepare script
Browse files Browse the repository at this point in the history
otherwise it errors when we are installed from npm
  • Loading branch information
urish committed Jan 31, 2020
1 parent 13fa50d commit 595d2ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"scripts": {
"build": "rimraf dist && tsc --sourceMap false && tsc -m esnext --outDir dist/esm --sourceMap false",
"lint": "eslint src/**/*.ts",
"prepare": "npm run build",
"postinstall": "patch-package",
"prepare": "npm run build && patch-package",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
Expand Down

0 comments on commit 595d2ad

Please sign in to comment.