Summary: flipper-server-companion depends on flipper-plugin. flipper-plugin includes dependencies that run only in a browser. Splitting flipper-plugin into core and browser packages helps to avoid including browser-only dependencies into flipper-server bundle. As a result, bundle size could be cut in half. Subsequently, RSS usage drops as there is twice as less code to process for V8. Note: it currently breaks external flipper-data-source package. It will be restored in subsequent diffs Reviewed By: lblasa Differential Revision: D38658285 fbshipit-source-id: 751b11fa9f3a2d938ce166687b8310ba8b059dee
41 lines
1005 B
JSON
41 lines
1005 B
JSON
{
|
|
"name": "flipper-plugin-core",
|
|
"version": "0.0.0",
|
|
"description": "Flipper Desktop plugin SDK and components",
|
|
"repository": "facebook/flipper",
|
|
"main": "lib/index.js",
|
|
"flipperBundlerEntry": "src",
|
|
"types": "lib/index.d.ts",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/facebook/flipper/issues",
|
|
"dependencies": {
|
|
"eventemitter3": "^4.0.7",
|
|
"flipper-common": "0.0.0",
|
|
"immer": "^9.0.12",
|
|
"js-base64": "^3.7.2",
|
|
"lodash": "^4.17.21",
|
|
"string-natural-compare": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "17.0.39",
|
|
"@types/string-natural-compare": "^3.0.2",
|
|
"jest-mock-console": "^1.2.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@testing-library/dom": "^7.26.3"
|
|
},
|
|
"scripts": {
|
|
"reset": "rimraf lib *.tsbuildinfo",
|
|
"build": "tsc -b",
|
|
"prepack": "yarn reset && yarn build"
|
|
},
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"homepage": "https://github.com/facebook/flipper",
|
|
"keywords": [
|
|
"Flipper"
|
|
],
|
|
"author": "Facebook, Inc"
|
|
}
|