Files
flipper/desktop/flipper-server/package.json
Michel Weststrate cbda298b9d Add support to build flipper-server from SandCastle
Summary:
This refactors the flipper-server release script in such a way that it works the same as the normal release script, which solves two problems:

1) the official release script modifies versioned files, as it touches the package.json
2) it was slightly confusing that `flipper-server/static` was filled for release builds only, but not used in dev builds
3) running test:npx without running a release build before it, would fail with hard to comprehend errors. this has been solved now by removing that script and make it an arg of `build:flipper-server`

Also some further minor changes to prepare running a corresponding build / release job from SandCastle (later in this stack)

Reviewed By: nikoant

Differential Revision: D33297214

fbshipit-source-id: f6299aa982c3e59d1cc6479a93c56cbe4b57f85c
2021-12-24 07:18:11 -08:00

48 lines
1.2 KiB
JSON

{
"name": "flipper-server",
"private": true,
"version": "0.0.0",
"description": "Standalone nodeJS based Flipper server",
"repository": "facebook/flipper",
"main": "server.js",
"bin": "server.js",
"license": "MIT",
"bugs": "https://github.com/facebook/flipper/issues",
"dependenciesComment": "mac-ca is required dynamically for darwin, node-fetch is treated special in electron-requires, not sure why",
"dependencies": {
"mac-ca": "^1.0.6",
"node-fetch": "^2.6.6"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/node": "^15.12.5",
"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",
"metro": "^0.66.2",
"open": "^8.3.0",
"p-filter": "^2.1.0",
"socket.io": "^4.3.1",
"yargs": "^17.0.1"
},
"peerDependencies": {},
"scripts": {
"reset": "rimraf lib *.tsbuildinfo",
"build": "tsc -b"
},
"files": [
"dist/**/*",
"static/**/*",
"README.md",
"server.js"
],
"homepage": "https://github.com/facebook/flipper",
"keywords": [
"Flipper"
],
"author": "Facebook, Inc"
}