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:
committed by
Facebook GitHub Bot
parent
6ff4abbc67
commit
86b6d2c99d
@@ -27,3 +27,14 @@ yarn build:flipper-server
|
||||
```
|
||||
|
||||
Pass the `--open` flag to open Flipper server after building
|
||||
|
||||
Use `--no-rebuild-plugins` to speed up subsequent builds if default plugins have been build already
|
||||
|
||||
### Test NPX build
|
||||
|
||||
```
|
||||
cd <Flipper checkout>/desktop/
|
||||
yarn build:flipper-server
|
||||
cd flipper-server
|
||||
yarn test:npx
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user