Summary: ^ This is a very small refactoring and addition to the Flipper Desktop app. The instantiation of FlipperServer was extracted to a separate function. This a very tiny change that allows to switch the implementation we use for FlipperServer in a more convenient way. In this same change, an unused function is added which will create a separate FlipperServer instance that uses a web-socket underneath which makes it possible to use with flipper-server. So, if interested, it is enough to call that function instead of the one currently in use and it will make Flipper connect to flipper-server instead. https://pxl.cl/24j8R Reviewed By: passy Differential Revision: D36440574 fbshipit-source-id: 94ea2ab7208b898a82ac5e7fd7edd9cb824b4810
32 lines
752 B
JSON
32 lines
752 B
JSON
{
|
|
"name": "flipper",
|
|
"version": "0.0.0",
|
|
"description": "Mobile development tool",
|
|
"productName": "Flipper",
|
|
"author": "Facebook Inc",
|
|
"main": "src/index.tsx",
|
|
"icon": "icon.png",
|
|
"category": "facebook-intern",
|
|
"privileged": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"reset": "rimraf lib *.tsbuildinfo",
|
|
"build": "tsc -b"
|
|
},
|
|
"dependencies": {
|
|
"flipper-common": "0.0.0",
|
|
"flipper-server-core": "0.0.0",
|
|
"flipper-frontend-core": "0.0.0",
|
|
"flipper-ui-core": "0.0.0",
|
|
"fs-extra": "^10.1.0",
|
|
"invariant": "^2.2.2",
|
|
"metro-runtime": "^0.70.2",
|
|
"pretty-format": "^27.5.0"
|
|
},
|
|
"optionalDependencies": {},
|
|
"devDependencies": {
|
|
"@types/node": "^17.0.31",
|
|
"react-refresh": "^0.11.0"
|
|
}
|
|
}
|