Summary: This diff sets up the socket connection between flipper-browser and flipper-server, and verifies that the initial UI initialisation work (e.g. `get-config` command works). The initial RenderHost is initialised as well based on the config and browser APIs. Note that flipper-ui-core itself isn't started yet, as that has still a plethora of node imports, so Metro will correctly refuse to bundle Not in this diff * remove Node usage from flipper-ui-core * implement all RenderHost APIs Reviewed By: aigoncharov Differential Revision: D32644074 fbshipit-source-id: 2c8065caf0191771a3867b69a431ca50eeb7a5a3
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "flipper-server",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"description": "Standalone nodeJS based Flipper server",
|
|
"repository": "facebook/flipper",
|
|
"main": "lib/index.js",
|
|
"flipperBundlerEntry": "src",
|
|
"types": "lib/index.d.ts",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/facebook/flipper/issues",
|
|
"dependencies": {
|
|
"chalk": "^4.1.2",
|
|
"express": "^4.15.2",
|
|
"flipper-common": "0.0.0",
|
|
"flipper-pkg-lib": "0.0.0",
|
|
"flipper-server-core": "0.0.0",
|
|
"fs-extra": "^9.0.0",
|
|
"mac-ca": "^1.0.6",
|
|
"p-filter": "^2.1.0",
|
|
"socket.io": "^4.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.13",
|
|
"metro": "^0.66.2",
|
|
"nodemon": "^2.0.15",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"peerDependencies": {},
|
|
"scripts": {
|
|
"reset": "rimraf lib *.tsbuildinfo",
|
|
"build": "tsc -b",
|
|
"prepack": "yarn reset && yarn build",
|
|
"start": "cross-env NODE_ENV=development nodemon --watch './src/**/*.tsx' --watch '../flipper-server-core/src/**/*.tsx' --exec '../ts-node' src/index.tsx"
|
|
},
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"homepage": "https://github.com/facebook/flipper",
|
|
"keywords": [
|
|
"Flipper"
|
|
],
|
|
"author": "Facebook, Inc"
|
|
}
|