Migrate all plugins to spec v2

Summary: All the plugins migrated to spec v2 to allow packaging/publishing them independently from Flipper releases.

Reviewed By: passy

Differential Revision: D22041384

fbshipit-source-id: 23bfaf724f771a57bd628b9ea1c4d37846534a93
This commit is contained in:
Anton Nikolaev
2020-06-15 07:28:12 -07:00
committed by Facebook GitHub Bot
parent 04e58cd6c2
commit 8003e7eb34
18 changed files with 191 additions and 58 deletions

View File

@@ -1,13 +1,29 @@
{
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-example",
"id": "flipper-plugin-example",
"version": "1.0.0",
"description": "An example for a Flipper plugin",
"main": "index.tsx",
"main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT",
"keywords": ["flipper-plugin"],
"keywords": [
"flipper-plugin"
],
"title": "Example Plugin",
"icon": "apps",
"bugs": {
"url": "https://fbflipper.com/"
},
"scripts": {
"lint": "flipper-pkg lint",
"prepack": "flipper-pkg lint && flipper-pkg bundle"
},
"peerDependencies": {
"flipper": "0.46.0"
},
"devDependencies": {
"flipper": "0.46.0",
"flipper-pkg": "0.46.0"
}
}