From de47c79cbe07fc4ac444c6b7a046e2bcc86f95fa Mon Sep 17 00:00:00 2001 From: Luu Truong Date: Fri, 29 Oct 2021 17:00:13 +0700 Subject: [PATCH] Reduce NPM package size --- package.json | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ea94cf78..f940261d 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,24 @@ "url": "https://github.com/wonday/react-native-pdf/issues" }, "dependencies": { - "crypto-js": "^3.2.0", + "crypto-js": "^3.2.0" + }, + "devDependencies": { "prop-types": "^15.7.2" - } + }, + "files": [ + "android/", + "ios/", + "windows/", + "DoubleTapView.js", + "index.d.ts", + "index.js", + "index.js.flow", + "PdfManager.js", + "PdfPageView.js", + "PdfView.js", + "PdfViewFlatList.js", + "PinchZoomView.js", + "react-native-pdf.podspec" + ] }