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

@@ -377,9 +377,6 @@ export default class LogTable extends FlipperDevicePlugin<
Actions,
PersistedState,
> {
static id = 'DeviceLogs';
static title = 'Logs';
static icon = 'arrow-right';
static keyboardActions = ['clear', 'goToBottom', 'createPaste'];
initTimer: ?TimeoutID;

View File

@@ -1,7 +1,13 @@
{
"name": "flipper-plugin-device-logs",
"name": "DeviceLogs",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {}
"dependencies": {},
"title": "Logs",
"icon": "arrow-right",
"bugs": {
"email": "oncall+flipper@xmail.facebook.com",
"url": "https://fb.workplace.com/groups/230455004101832/"
}
}