diff --git a/desktop/package.json b/desktop/package.json index a20775f0b..853c33f3e 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -233,7 +233,7 @@ "lint:tsc": "tsc --noemit", "list-plugins": "./ts-node scripts/list-plugins.ts", "open-dist": "open ../dist/mac/Flipper.app --args --launcher=false --inspect=9229", - "postinstall": "patch-package && ./ts-node scripts/yarn-install-fb-plugins.ts && yarn build:tsc && ./ts-node scripts/generate-plugin-entry-points.ts && yarn build:themes", + "postinstall": "patch-package && ./ts-node scripts/gen-type-index.ts &&./ts-node scripts/yarn-install-fb-plugins.ts && yarn build:tsc && ./ts-node scripts/generate-plugin-entry-points.ts && yarn build:themes", "prebuild": "yarn build:tsc && yarn rm-dist && yarn build:themes", "predev-server": "yarn build:tsc", "preinstall": "node scripts/prepare-watchman-config.js && yarn config set ignore-engines", diff --git a/desktop/types/package.json b/desktop/types/package.json index bcb027fc2..9225a26d2 100644 --- a/desktop/types/package.json +++ b/desktop/types/package.json @@ -10,8 +10,5 @@ "keywords": [ "Flipper" ], - "author": "Facebook, Inc", - "scripts": { - "postinstall": "../ts-node ../scripts/gen-type-index.ts" - } + "author": "Facebook, Inc" }