From 62c96ebc0e1ada029ff0f4ac7f74a16684fd99b7 Mon Sep 17 00:00:00 2001 From: Dominic Go Date: Thu, 7 Nov 2024 01:24:07 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Chore:=20Update=20Package?= =?UTF-8?q?=20Config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index a9287d2f..2524b03a 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,12 @@ { "name": "react-native-ios-context-menu", - "version": "3.0.0-8", + "version": "3.0.0-9", "description": "A react-native component to use context menu's (UIMenu) on iOS 13/14+", - "source": "./src/index.tsx", - "module": "./lib/module/index.js", - "types": "./lib/typescript/commonjs/src/index.d.ts", - "exports": { - ".": { - "import": { - "types": "./lib/typescript/module/src/index.d.ts", - "default": "./lib/module/index.js" - }, - "require": { - "types": "./lib/typescript/commonjs/src/index.d.ts", - "default": "./lib/commonjs/index.js" - } - } - }, + "main": "lib/commonjs/index", + "module": "lib/module/index", + "types": "lib/typescript/module/src/index.d.ts", + "react-native": "src/index", + "source": "src/index", "files": [ "src", "lib", @@ -33,7 +23,8 @@ "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", - "!**/.*" + "!**/.*", + "ReactNativeIosUtilities.podspec" ], "scripts": { "example": "yarn workspace react-native-ios-context-menu-example",