Summary: Flipper reads metadata to show on the sidebar from `package.json` and static fields (`id`, `title`, and `icon`) from `FlipperPlugin` class. If there are fields declared in both file, `FlipperPlugin` class takes precedences. With Sandy (new Flipper plugin API), there is no static field available. In order to prevent unexpected scenario happening when migrating to Sandy, this codemod-ish is applied to plugins that contain static field. The static fields are merged into `package.json` to get the same result. In addition, the static fields are also removed. Reviewed By: eleweek Differential Revision: D22411839 fbshipit-source-id: efce530bb25def9a10ba8d85c48b31ee8657daa7
32 lines
741 B
JSON
32 lines
741 B
JSON
{
|
|
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
|
|
"name": "flipper-plugin-kaios-big-allocations",
|
|
"id": "kaios-big-allocations",
|
|
"version": "0.49.0",
|
|
"main": "dist/bundle.js",
|
|
"flipperBundlerEntry": "index.tsx",
|
|
"license": "MIT",
|
|
"title": "KaiOS: big allocations",
|
|
"icon": "apps",
|
|
"keywords": [
|
|
"flipper-plugin"
|
|
],
|
|
"bugs": {
|
|
"email": "oncall+wa_kaios@xmail.facebook.com",
|
|
"url": "https://fb.workplace.com/groups/wa.kaios/"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "patch-package"
|
|
},
|
|
"devDependencies": {
|
|
"patch-package": "^6.2.0"
|
|
},
|
|
"dependencies": {
|
|
"firefox-client": "0.3.0",
|
|
"promisify-child-process": "^4.1.0"
|
|
},
|
|
"resolutions": {
|
|
"minimist": "1.2.3"
|
|
}
|
|
}
|