UNPKG

react-native-background-step-counter

Version:

This library provides an interface for tracking the number of steps taken by the user in a React Native app.

163 lines (162 loc) 3.92 kB
{ "name": "react-native-background-step-counter", "version": "0.1.0", "summary": "It is a multi-platform library that combines CoreMotionSensor from iOS with SensorEventListener from Android.", "description": "This library provides an interface for tracking the number of steps taken by the user in a React Native app.", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "prepack": "bob build", "build:docs": "./node_modules/.bin/jsdoc -c .jsdoc-config.json", "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "release": "release-it" }, "keywords": [ "activity-recognition-api", "activity-recognition", "android", "core-motion", "ios", "motion-sensor-api", "motion-sensor", "pedometer-api", "pedometer", "react-native-step-counter", "react-native", "sensor-manager", "step-counter-api", "step-counter", "step-detection-api", "step-detection" ], "repository": { "type": "git", "url": "git+https://github.com/Ugur-Atakan/react-native-background-step-counter.git" }, "author": "Ugur-Atakan <uguratakansurmeli@gmail.com> (https://github.com/Ugur-Atakan)", "license": "MIT", "bugs": { "url": "https://github.com/Ugur-Atakan/react-native-background-step-counter/issues" }, "homepage": "https://github.com/Ugur-Atakan/react-native-background-step-counter#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@react-native/eslint-config": "^0.73.1", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^29.5.5", "@types/node": "^20.12.7", "@types/react": "^18.2.44", "del-cli": "^5.1.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "prettier": "^3.2.5", "react": "18.2.0", "react-native": "^0.73.7", "react-native-builder-bob": "^0.20.0", "release-it": "^15.0.0", "turbo": "^1.10.7", "typescript": "^5.4.5" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*" }, "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": false, "extends": [ "@react-native", "prettier" ], "rules": {} }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNBackgroundStepCounterSpec", "type": "modules", "jsSrcsDir": "src" } }