update plugin's package.json

Summary:
For all plugins:
- move static fields `title`, `id` and `icon` to `package.json`
- adds "bugs" field for all plugins containing links to support groups/oncalls.

Reviewed By: priteshrnandgaonkar

Differential Revision: D13417286

fbshipit-source-id: 7b341176915f3ed7b473b95c1d879f21d7d634ef
This commit is contained in:
Daniel Büchele
2018-12-18 10:12:43 -08:00
committed by Facebook Github Bot
parent c9b982b182
commit 1fc73ad2fb
19 changed files with 62 additions and 49 deletions

View File

@@ -99,10 +99,6 @@ function formatFrequency(freq) {
}
export default class CPUFrequencyTable extends FlipperDevicePlugin<CPUState> {
static id = 'DeviceCPU';
static title = 'CPU';
static icon = 'underline';
adbClient: ADBClient;
intervalID: ?IntervalID;

View File

@@ -1,9 +1,14 @@
{
"name": "flipper-plugin-device-cpu",
"name": "DeviceCPU",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"adbkit-fb": "2.10.1"
},
"title": "CPU",
"icon": "underline",
"bugs": {
"email": "barney@fb.com"
}
}