UNPKG

react-native-safe-area-view

Version:

Add padding to your views to account for notches, home indicators, status bar, and possibly other future things.

66 lines (65 loc) 1.62 kB
{ "name": "react-native-safe-area-view", "description": "Add padding to your views to account for notches, home indicators, status bar, and possibly other future things.", "version": "1.0.0", "author": "Dave Pack (dpack3.0@gmail.com), Brent Vatne (brent@expo.io)", "license": "MIT", "keywords": [ "react-native", "iPhoneX", "SafeAreaView", "safe area", "notch" ], "repository": { "url": "git@github.com:react-community/react-native-safe-area-view.git", "type": "git" }, "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "react-native": "src/index.tsx", "types": "lib/typescript/src/index.d.ts", "files": [ "lib/", "src/" ], "@react-native-community/bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] }, "prettier": { "trailingComma": "es5", "singleQuote": true }, "scripts": { "test": "jest", "typescript": "tsc --noEmit", "prepare": "bob build", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn" }, "dependencies": { "hoist-non-react-statics": "^2.3.1" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-safe-area-context": "*" }, "devDependencies": { "@babel/core": "^7", "@react-native-community/bob": "^0.6.1", "@types/react": "~16.8", "@types/react-native": "^0.60.7", "prettier": "^1.18.2", "react": "16.8.3", "react-native": "^0.59.8", "react-native-safe-area-context": "^0.3.5", "typescript": "^3.5.2" } }