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

@@ -112,9 +112,6 @@ const TextEllipsis = styled(Text)({
});
export default class extends FlipperPlugin<State, *, PersistedState> {
static title = 'Network';
static id = 'Network';
static icon = 'internet';
static keyboardActions = ['clear'];
static subscribed = [];
static defaultPersistedState = {

View File

@@ -1,10 +1,15 @@
{
"name": "flipper-plugin-network",
"name": "Network",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"pako": "^1.0.6",
"xml-beautifier": "^0.4.0"
},
"icon": "internet",
"bugs": {
"email": "oncall+flipper@xmail.facebook.com",
"url": "https://fb.workplace.com/groups/230455004101832/"
}
}