UNPKG

rn-pdf-reader-js

Version:
68 lines (67 loc) 2.14 kB
{ "name": "rn-pdf-reader-js", "version": "4.1.1", "description": "PDF reader for Expo", "main": "lib/index.js", "types": "lib/index.d.ts", "author": "Xavier Carpentier <xcapetir@gmail.com> (https://xaviercarpentier.com/)", "license": "MIT", "scripts": { "start": "yarn config:dev && expo start -c", "tsc": "node_modules/.bin/tsc --noEmit", "bundle": "./scripts/gen_bundle_string.js", "build": "yarn bundle && rm -rf lib/ && node_modules/.bin/tsc", "config:dev": "json -I -f package.json -e 'this.main=\"node_modules/expo/AppEntry.js\"'", "config:npm": "json -I -f package.json -e 'this.main=\"lib/index.js\"'", "lint": "tslint --project .", "verify": "yarn lint && yarn tsc && yarn build", "prepublishOnly": "yarn verify && yarn config:npm", "postpublish": "yarn config:dev", "cleaning": "rm -rf node_modules && rm -f yarn.lock && yarn cache clean && yarn install && watchman watch-del-all && rm -fr $TMPDIR/react-*" }, "keywords": [ "React-Native", "PDF", "pdfjs", "reader", "pdf-reader", "pdf-viewer", "react-pdf", "expo" ], "repository": { "type": "git", "url": "git+https://github.com/xcarpentier/rn-pdf-reader-js.git" }, "peerDependencies": { "expo": ">= 33.0.x < 37.0.x", "expo-constants": ">= 5.0.0 < 9.x", "expo-file-system": ">= 5.0.0 < 9.x", "react": "16.x", "react-native": "*", "react-native-webview": ">= 7.0.5 < 8.x" }, "dependencies": { "buffer": "5.1.0", "csstype": "2.6.8", "js-base64": "2.4.5" }, "devDependencies": { "@types/js-base64": "2.3.1", "@types/react": "16.9.17", "@types/react-dom": "16.9.4", "@types/react-native": "0.60.28", "babel-preset-expo": "^8.0.0", "crypto": "1.0.1", "expo": "^36.0.2", "expo-constants": "~8.0.0", "expo-file-system": "~8.0.0", "json": "^9.0.6", "react": "16.9.0", "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz", "react-native-webview": "7.4.3", "tslint": "^5.20.1", "tslint-config-prettier": "^1.18.0", "typescript": "3.7.4" } }