UNPKG

analytics-react-native

Version:

A React Native client for [Segment](https://segment.com) — The hassle-free way to integrate analytics into any application.

91 lines (90 loc) 2.35 kB
{ "name": "analytics-react-native", "version": "1.2.0", "description": "A React Native client for [Segment](https://segment.com) — The hassle-free way to integrate analytics into any application.", "keywords": [ "analytics", "segment.io", "segmentio", "client", "driver", "react-native" ], "main": "lib/index.js", "scripts": { "test": "NODE_ENV=test mocha 'test/index.js' --require babel-register --require mocha_setup.js", "test:watch": "npm run test -- --watch", "coverage": "nyc npm test", "coverage:html": "npm run coverage && open ./coverage/index.html", "coverage:publish": "npm run coverage && cat ./coverage/lcov.info | codecov", "lint": "eslint src/", "compile": "babel -d lib/ src/", "prepare": "npm run compile" }, "repository": { "type": "git", "url": "https://github.com/neiker/analytics-react-native.git" }, "author": "Javier Alvarez <neiker@gmail.com>", "license": "MIT", "homepage": "https://github.com/neiker/analytics-react-native", "bugs": { "url": "https://github.com/neiker/analytics-react-native/issues" }, "dependencies": { "base-64": "0.1.0", "type-of": "2.0.1" }, "devDependencies": { "babel-cli": "6.26.0", "babel-eslint": "8.0.1", "babel-plugin-inline-package-json": "2.0.0", "babel-plugin-istanbul": "4.1.5", "babel-plugin-transform-class-properties": "6.24.1", "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-polyfill": "6.26.0", "babel-preset-es2015": "6.24.1", "babel-register": "6.26.0", "body-parser": "1.18.2", "codecov": "2.3.1", "eslint": "4.9.0", "eslint-config-airbnb-base": "12.1.0", "eslint-plugin-import": "2.8.0", "express": "4.16.2", "mocha": "3.5.3", "node-fetch": "1.7.3", "nyc": "11.2.1", "pre-git": "3.15.3" }, "peerDependencies": { "react-native": "*" }, "nyc": { "include": [ "src/index.js" ], "require": [ "babel-register" ], "reporter": [ "lcov", "text", "html" ], "sourceMap": false, "instrument": false }, "config": { "pre-git": { "pre-commit": [ "npm run lint" ], "pre-push": [ "npm run test" ] } }, "release": { "analyzeCommits": "simple-commit-message" } }