add build command by default

Summary: By adding a build command the flipper plugin can be picked up, even when using a production build of Flipper, as we don't require Flipper's own infrastructure anymore to compile plugins.

Reviewed By: jknoxville

Differential Revision: D21523819

fbshipit-source-id: eed935ee95a7e3bff2ace629836b4b2450b5d1ad
This commit is contained in:
Michel Weststrate
2020-05-19 05:31:05 -07:00
committed by Facebook GitHub Bot
parent 310a76d03f
commit 47f72e3332

View File

@@ -13,7 +13,8 @@
"title": "{{title}}", "title": "{{title}}",
"scripts": { "scripts": {
"lint": "flipper-pkg lint", "lint": "flipper-pkg lint",
"prepack": "flipper-pkg lint && flipper-pkg bundle" "prepack": "flipper-pkg lint && flipper-pkg bundle",
"build": "flipper-pkg bundle"
}, },
"peerDependencies": { "peerDependencies": {
"flipper": "latest" "flipper": "latest"