From 60f04263afae11e01dbcac17ba93355d317c5b56 Mon Sep 17 00:00:00 2001 From: Truong Luu Date: Tue, 5 Jul 2022 10:02:35 +0700 Subject: [PATCH] fix mismatch main --- package.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ef6ff338..006c68d6 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,7 @@ "version": "6.5.0", "summary": "A react native PDF view component", "description": "A react native PDF view component, support ios and android platform", - "main": "index.js", - "typings": "./index.d.ts", + "main": "dist/index.js", "repository": { "type": "git", "url": "git+https://github.com/wonday/react-native-pdf.git" @@ -28,12 +27,12 @@ "url": "https://github.com/wonday/react-native-pdf/issues" }, "dependencies": { - "crypto-js": "^3.2.0", - "typescript": "^4.7.4" + "crypto-js": "^3.2.0" }, "devDependencies": { "@types/react-native": "^0.68.0", - "react-native": "^0.68.0" + "react-native": "^0.68.0", + "typescript": "^4.7.4" }, "files": [ "android/",