UNPKG

@segment/analytics-react-native

Version:

The hassle-free way to add Segment analytics to your React-Native app.

86 lines (85 loc) 2.18 kB
{ "name": "@segment/analytics-react-native", "version": "2.19.5", "description": "The hassle-free way to add Segment analytics to your React-Native app.", "keywords": [ "segment", "react-native", "ios", "android" ], "homepage": "https://github.com/segmentio/analytics-react-native#readme", "bugs": { "url": "https://github.com/segmentio/analytics-react-native/issues" }, "repository": { "type": "git", "url": "https://github.com/segmentio/analytics-react-native.git", "directory": "packages/core" }, "license": "MIT", "author": "Segment <hello@segment.com> (https://segment.com/)", "main": "lib/commonjs/index", "module": "lib/module/index", "source": "src/index", "react-native": "src/index", "types": "lib/typescript/src/index.d.ts", "files": [ "src", "lib", "android", "ios", "cpp", "segment-analytics-react-native.podspec", "package.json", "!src/**/*.e2e.mock.js", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "prebuild": "node constants-generator.js && eslint --fix ./src/info.ts", "build": "yarn prebuild && bob build", "clean": "rimraf lib node_modules ./src/info.ts", "test": "jest", "typescript": "tsc --noEmit", "prepack": "yarn prebuild" }, "dependencies": { "@segment/tsub": "2.0.0", "@stdlib/number-float64-base-normalize": "0.0.8", "deepmerge": "^4.3.1", "js-base64": "^3.7.5", "uuid": "^9.0.1" }, "devDependencies": { "@segment/sovran-react-native": "^1.1.0", "@types/uuid": "^9.0.7", "jest": "^29.7.0", "typescript": "^5.2.2" }, "peerDependencies": { "@react-native-async-storage/async-storage": "2.x", "@segment/sovran-react-native": "^1.1.0", "react": "*", "react-native": "*", "react-native-get-random-values": "1.x" }, "peerDependenciesMeta": { "@react-native-async-storage/async-storage": { "optional": true } }, "engines": { "node": ">=12" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] } }