From 46f81224e4aae9a05dc7c8e209b4750c014f4d02 Mon Sep 17 00:00:00 2001 From: Daniel Salinas Date: Wed, 2 Oct 2024 13:31:32 -0400 Subject: [PATCH] Try CJS extension to make script runnable (#108) Co-authored-by: Daniel Salinas --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1f98a8b2..52347be9 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "type": "module", "main": "./typescript/src/index.ts", "bin": { - "ubrn": "./bin/cli", - "uniffi-bindgen-react-native": "./bin/cli" + "ubrn": "./bin/cli.cjs", + "uniffi-bindgen-react-native": "./bin/cli.cjs" }, "devDependencies": { "abortcontroller-polyfill": "^1.7.5",