Make flipper-server NPX-able

Summary: Make sure flipper-server is bundled in such a way that it is self-contained NPX-able. Also added some checks to make sure that dev dependencies don't accidentallly end up in in Flipper buidls

Reviewed By: nikoant

Differential Revision: D33190254

fbshipit-source-id: 443162e537d8ca9f956acac2d7bd52cbf0c92172
This commit is contained in:
Michel Weststrate
2021-12-24 02:15:25 -08:00
committed by Facebook GitHub Bot
parent 6ff4abbc67
commit 86b6d2c99d
8 changed files with 123 additions and 24 deletions

View File

@@ -7,6 +7,7 @@
* @format
*/
import process from 'process';
import os from 'os';
import fs from 'fs-extra';
import path from 'path';