UNPKG

@svanboxel/visibility-sensor-react-native

Version:

React Native component that helps with determining whether a component is in the viewport.

48 lines (47 loc) 1.29 kB
{ "name": "@svanboxel/visibility-sensor-react-native", "version": "1.0.2", "description": "React Native component that helps with determining whether a component is in the viewport.", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/SvanBoxel/visibility-sensor-react-native.git" }, "scripts": { "build": "rollup -c", "build-watch": "rollup -c -w", "test": "npm run lint", "prepare": "npm run build", "prepublishOnly": "npm run lint", "lint": "prettier -c --config .prettierrc 'src/**/*.tsx'", "lint:fix": "prettier --config .prettierrc 'src/**/*.tsx' --write", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "keywords": [ "React Native", "React", "Visibility", "Visbility sensor", "Viewport" ], "author": "", "license": "ISC", "devDependencies": { "@types/react-native": "^0.62.0", "prettier": "^2.0.5", "rollup": "^1.25.0", "rollup-plugin-typescript2": "^0.24.3", "typescript": "^3.9.3" }, "peerDependencies": { "react": "^16.9.0", "react-native": "^0.62.0" }, "typings": "dist/index.d.ts", "files": [ "dist" ] }