Prepare flipper-headless-demo for publishing

Summary: Make headless-demo executable and configure packaging

Reviewed By: passy

Differential Revision: D36590919

fbshipit-source-id: 2c192a712e38888bc8b1f1caa3e55075c24ed14e
This commit is contained in:
Andrey Goncharov
2022-05-23 08:06:18 -07:00
committed by Facebook GitHub Bot
parent 966e53f4a2
commit 125f450f60
2 changed files with 17 additions and 3 deletions

1
desktop/examples/headless-demo/index.js Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env node
/** /**
* Copyright (c) Meta Platforms, Inc. and affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *

View File

@@ -1,6 +1,15 @@
{ {
"name": "headless-demo", "name": "flipper-headless-demo",
"version": "1.0.0", "version": "0.0.0",
"description": "Headless demo Flipper desktop plugin",
"homepage": "https://github.com/facebook/flipper",
"keywords": [
"Flipper"
],
"repository": "facebook/flipper",
"bugs": "https://github.com/facebook/flipper/issues",
"author": "Facebook, Inc",
"bin": "index.js",
"main": "index.js", "main": "index.js",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
@@ -8,5 +17,9 @@
}, },
"dependencies": { "dependencies": {
"ws": "^8.6.0" "ws": "^8.6.0"
} },
"files": [
"*.js",
"README.md"
]
} }