Skip to content

Commit

Permalink
Merge pull request #115 from Financial-Times/matth/fix-install-hooks
Browse files Browse the repository at this point in the history
Use prepare not postinstall to build components
  • Loading branch information
i-like-robots authored Jul 25, 2018
2 parents 138abf5 + c3b4099 commit 00a19e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/x-increment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "dist/Increment.cjs.js",
"scripts": {
"postinstall": "npm run build",
"prepare": "npm run build",
"build": "node rollup.js"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion components/x-interaction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "dist/Interaction.cjs.js",
"scripts": {
"postinstall": "npm run build",
"prepare": "npm run build",
"build": "node rollup.js"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion components/x-styling-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"style": "dist/Button.css",
"private": true,
"scripts": {
"postinstall": "npm run build",
"prepare": "npm run build",
"build": "node rollup.js"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion components/x-teaser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"browser": "dist/Teaser.es5.js",
"types": "Props.d.ts",
"scripts": {
"postinstall": "npm run build",
"prepare": "npm run build",
"build": "node rollup.js"
},
"keywords": [],
Expand Down

0 comments on commit 00a19e3

Please sign in to comment.