UNPKG

react-native-user-inactivity

Version:

React Native component that notifies if the user is active or not

50 lines (49 loc) 1.29 kB
{ "name": "react-native-user-inactivity", "version": "1.2.0", "description": "React Native component that notifies if the user is active or not", "main": "lib/index.js", "typings": "lib/index.d.ts", "scripts": { "clean": "rimraf ./lib", "prebuild": "npm run clean && npm run lint", "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc", "lint": "tslint -c tslint.json -p tsconfig.json" }, "files": [ "lib", "LICENSE", "README.md" ], "keywords": [ "react", "react-native", "user", "typescript", "tracking", "inactivity" ], "author": "Alberto Schiabel (https://github.com/jkomyno)", "license": "MIT", "dependencies": { "usetimeout-react-hook": "^0.1.2" }, "devDependencies": { "@types/react": "^17.0.0", "@types/react-native": "^0.63.46", "@types/react-native-background-timer": "^2.0.0", "react-native-background-timer": "^2.4.1", "rimraf": "^2.6.3", "tslib": "^1.10.0", "tslint": "^5.18.0", "tslint-react": "^3.6.0", "typescript": "^3.5.3", "ws": ">=3.3.1" }, "peerDependencies": { "react": "^17.0.0", "react-native": "^0.63.0", "react-native-background-timer": "^2.4.1" } }