diff --git a/desktop/plugins/cpu/package.json b/desktop/plugins/cpu/package.json index 2415d119d..564985ebc 100644 --- a/desktop/plugins/cpu/package.json +++ b/desktop/plugins/cpu/package.json @@ -13,8 +13,5 @@ "icon": "underline", "bugs": { "email": "barney@fb.com" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/crash_reporter/package.json b/desktop/plugins/crash_reporter/package.json index fb2b24d87..7abcac17b 100644 --- a/desktop/plugins/crash_reporter/package.json +++ b/desktop/plugins/crash_reporter/package.json @@ -18,8 +18,5 @@ }, "dependencies": { "unicode-substring": "^1.0.0" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/databases/package.json b/desktop/plugins/databases/package.json index fda32dcd9..9cc04d733 100644 --- a/desktop/plugins/databases/package.json +++ b/desktop/plugins/databases/package.json @@ -25,8 +25,5 @@ "bugs": { "email": "oncall+flipper@xmail.facebook.com", "url": "https://fb.workplace.com/groups/flippersupport/" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/example/package.json b/desktop/plugins/example/package.json index d562a83a4..aebfe0396 100644 --- a/desktop/plugins/example/package.json +++ b/desktop/plugins/example/package.json @@ -17,7 +17,9 @@ }, "scripts": { "lint": "flipper-pkg lint", - "prepack": "flipper-pkg lint && flipper-pkg bundle" + "build": "flipper-pkg bundle", + "watch": "flipper-pkg bundle --watch", + "prepack": "flipper-pkg lint && flipper-pkg bundle --production" }, "peerDependencies": { "flipper": "0.47.0" diff --git a/desktop/plugins/fresco/package.json b/desktop/plugins/fresco/package.json index 895cd0ab4..b53e85f76 100644 --- a/desktop/plugins/fresco/package.json +++ b/desktop/plugins/fresco/package.json @@ -13,8 +13,5 @@ "icon": "profile", "bugs": { "email": "oncall+fresco@xmail.facebook.com" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/hermesdebuggerrn/package.json b/desktop/plugins/hermesdebuggerrn/package.json index 403949d4c..cd09895cb 100644 --- a/desktop/plugins/hermesdebuggerrn/package.json +++ b/desktop/plugins/hermesdebuggerrn/package.json @@ -13,8 +13,5 @@ ], "bugs": { "email": "rickhanlonii@fb.com" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/kaios-allocations/package.json b/desktop/plugins/kaios-allocations/package.json index 035b9e7a2..2c009b36d 100644 --- a/desktop/plugins/kaios-allocations/package.json +++ b/desktop/plugins/kaios-allocations/package.json @@ -16,8 +16,7 @@ "url": "https://fb.workplace.com/groups/wa.kaios/" }, "scripts": { - "postinstall": "patch-package", - "prepack": "../../pkg/bin/run bundle" + "postinstall": "patch-package" }, "devDependencies": { "patch-package": "^6.2.0" diff --git a/desktop/plugins/kaios-ram/package.json b/desktop/plugins/kaios-ram/package.json index 4dc669955..2d92c9e8d 100644 --- a/desktop/plugins/kaios-ram/package.json +++ b/desktop/plugins/kaios-ram/package.json @@ -24,8 +24,5 @@ }, "resolutions": { "@types/react": "16.9.17" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/layout/package.json b/desktop/plugins/layout/package.json index 95d1a6127..16c920d96 100644 --- a/desktop/plugins/layout/package.json +++ b/desktop/plugins/layout/package.json @@ -21,8 +21,5 @@ "bugs": { "email": "oncall+flipper@xmail.facebook.com", "url": "https://fb.workplace.com/groups/flippersupport/" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/leak_canary/package.json b/desktop/plugins/leak_canary/package.json index 1184fa22b..d8571623c 100644 --- a/desktop/plugins/leak_canary/package.json +++ b/desktop/plugins/leak_canary/package.json @@ -15,8 +15,5 @@ "title": "LeakCanary", "bugs": { "email": "jhli@fb.com" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/logs/package.json b/desktop/plugins/logs/package.json index fd450ee95..72eb35f8f 100644 --- a/desktop/plugins/logs/package.json +++ b/desktop/plugins/logs/package.json @@ -15,8 +15,5 @@ "bugs": { "email": "oncall+flipper@xmail.facebook.com", "url": "https://fb.workplace.com/groups/flippersupport/" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/navigation/package.json b/desktop/plugins/navigation/package.json index 0edf950aa..a79813eb0 100644 --- a/desktop/plugins/navigation/package.json +++ b/desktop/plugins/navigation/package.json @@ -13,8 +13,5 @@ "icon": "directions", "bugs": { "email": "beneloca@fb.com" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/network/package.json b/desktop/plugins/network/package.json index 048db2b08..db8f531c7 100644 --- a/desktop/plugins/network/package.json +++ b/desktop/plugins/network/package.json @@ -23,8 +23,5 @@ }, "devDependencies": { "@types/pako": "^1.0.1" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/reactdevtools/package.json b/desktop/plugins/reactdevtools/package.json index 5c1c2248b..0d115e3b2 100644 --- a/desktop/plugins/reactdevtools/package.json +++ b/desktop/plugins/reactdevtools/package.json @@ -19,8 +19,5 @@ "bugs": { "email": "danielbuechele@fb.com" }, - "devDependencies": {}, - "scripts": { - "prepack": "../../pkg/bin/run bundle" - } + "devDependencies": {} } diff --git a/desktop/plugins/rn-tic-tac-toe/package.json b/desktop/plugins/rn-tic-tac-toe/package.json index 5f82faf4c..ea7a236d8 100644 --- a/desktop/plugins/rn-tic-tac-toe/package.json +++ b/desktop/plugins/rn-tic-tac-toe/package.json @@ -14,8 +14,5 @@ "category": "Examples", "bugs": { "email": "mweststrate@fb.com" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/sandbox/package.json b/desktop/plugins/sandbox/package.json index 62a4a300b..a31af0d07 100644 --- a/desktop/plugins/sandbox/package.json +++ b/desktop/plugins/sandbox/package.json @@ -13,8 +13,5 @@ "icon": "translate", "bugs": { "email": "edoardo@fb.com" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/seamammals/package.json b/desktop/plugins/seamammals/package.json index 226866ced..ff5df1810 100644 --- a/desktop/plugins/seamammals/package.json +++ b/desktop/plugins/seamammals/package.json @@ -18,7 +18,9 @@ }, "scripts": { "lint": "flipper-pkg lint", - "prepack": "flipper-pkg lint && flipper-pkg bundle" + "build": "flipper-pkg bundle", + "watch": "flipper-pkg bundle --watch", + "prepack": "flipper-pkg lint && flipper-pkg bundle --production" }, "peerDependencies": { "flipper": "0.47.0" diff --git a/desktop/plugins/sections/package.json b/desktop/plugins/sections/package.json index 865b5b44f..89321d184 100644 --- a/desktop/plugins/sections/package.json +++ b/desktop/plugins/sections/package.json @@ -20,8 +20,5 @@ }, "resolutions": { "react-d3-tree/d3": "file:./d3" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } } diff --git a/desktop/plugins/shared_preferences/package.json b/desktop/plugins/shared_preferences/package.json index 82febb460..3019313e0 100644 --- a/desktop/plugins/shared_preferences/package.json +++ b/desktop/plugins/shared_preferences/package.json @@ -15,8 +15,5 @@ "title": "Shared Preferences Viewer", "bugs": { "email": "halsibai@fb.com" - }, - "scripts": { - "prepack": "../../pkg/bin/run bundle" } }