From 5a842dbfb15975597ce51a304bce5a2cf070399f Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Tue, 14 May 2024 11:01:16 -0400 Subject: [PATCH] Fix healthcheck package.json bin field ghstack-source-id: 28045c6edb342dea125ea8fcea564ce90626f21d Pull Request resolved: https://github.com/facebook/react-forget/pull/2964 --- compiler/packages/react-compiler-healthcheck/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/packages/react-compiler-healthcheck/package.json b/compiler/packages/react-compiler-healthcheck/package.json index 35489d166d..567990388a 100644 --- a/compiler/packages/react-compiler-healthcheck/package.json +++ b/compiler/packages/react-compiler-healthcheck/package.json @@ -2,7 +2,9 @@ "name": "react-compiler-healthcheck", "version": "0.0.0", "description": "Health check script to test violations of the rules of react.", - "bin": "dist/index.js", + "bin": { + "react-compiler-healthcheck": "dist/index.js" + }, "scripts": { "build": "rimraf dist && rollup --config --bundleConfigAsCjs", "test": "echo 'no tests'"