UNPKG

react-native-shake

Version:

A library to detect shake event on Android and iOS

81 lines (80 loc) 1.83 kB
{ "name": "react-native-shake", "version": "5.6.2", "description": "A library to detect shake event on Android and iOS", "homepage": "https://github.com/Doko-Demo-Doa/react-native-shake", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", "author": "Quan Pham <phamvanquan@live.com>", "license": "MIT", "files": [ "android", "ios", "js", "lib", "react-native-shake.podspec", "!.DS_Store", "!.gradle", "!.idea", "!build", "!gradle", "!*.iml", "!gradlew", "!gradlew.bat", "!local.properties", "!project.xcworkspace", "!xcshareddata", "!xcuserdata" ], "repository": { "type": "git", "url": "https://github.com/Doko-Demo-Doa/react-native-shake.git" }, "scripts": { "compile": "rimraf lib && tsc -p .", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "prepare": "npm run compile", "test": "jest" }, "dependencies": { "react": "^18.2.0", "react-native": "^0.73.6" }, "devDependencies": { "@babel/core": "^7.22.5", "@babel/runtime": "^7.22.5", "@react-native-community/eslint-config": "^3.2.0", "@types/jest": "^29.5.2", "babel-jest": "^29.5.0", "eslint": "^8.43.0", "eslint-plugin-simple-import-sort": "^10.0.0", "jest": "^29.5.0", "metro-react-native-babel-preset": "^0.77.0", "react": "^18.2.0", "rimraf": "^5.0.1", "typescript": "^5.1.3" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] }, "codegenConfig": { "name": "RNShakeSpec", "type": "modules", "jsSrcsDir": "js", "android": { "javaPackageName": "com.clipsub.RNShake" } } }