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
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "flipper-plugin",
|
|
"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": {
|
|
"@ant-design/colors": "^6.0.0",
|
|
"@emotion/css": "^11.7.1",
|
|
"@emotion/react": "^11.8.2",
|
|
"@reach/observe-rect": "^1.2.0",
|
|
"@types/react": "17.0.39",
|
|
"@types/react-color": "^3.0.6",
|
|
"@types/react-dom": "^17.0.13",
|
|
"eventemitter3": "^4.0.7",
|
|
"flipper-common": "0.0.0",
|
|
"flipper-plugin-core": "0.0.0",
|
|
"immer": "^9.0.12",
|
|
"js-base64": "^3.7.2",
|
|
"lodash": "^4.17.21",
|
|
"react-color": "^2.19.3",
|
|
"react-element-to-jsx-string": "^14.3.4",
|
|
"react-virtual": "^2.10.4",
|
|
"string-natural-compare": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/string-natural-compare": "^3.0.2",
|
|
"jest-mock-console": "^1.2.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@ant-design/icons": "^4.2.2",
|
|
"@testing-library/dom": "^7.26.3",
|
|
"antd": "^4.11.2"
|
|
},
|
|
"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"
|
|
}
|