GT2/GT2-Android/node_modules/react-native-maps/package.json

164 lines
19 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "react-native-maps@0.19.0",
"scope": null,
"escapedName": "react-native-maps",
"name": "react-native-maps",
"rawSpec": "0.19.0",
"spec": "0.19.0",
"type": "version"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/expo"
]
],
"_from": "react-native-maps@0.19.0",
"_id": "react-native-maps@0.19.0",
"_inCache": true,
"_location": "/react-native-maps",
"_nodeVersion": "8.2.1",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/react-native-maps-0.19.0.tgz_1513290881107_0.9988682505208999"
},
"_npmUser": {
"name": "cdro",
"email": "casheghian@gmail.com"
},
"_npmVersion": "5.3.0",
"_phantomChildren": {},
"_requested": {
"raw": "react-native-maps@0.19.0",
"scope": null,
"escapedName": "react-native-maps",
"name": "react-native-maps",
"rawSpec": "0.19.0",
"spec": "0.19.0",
"type": "version"
},
"_requiredBy": [
"/expo"
],
"_resolved": "https://registry.npmjs.org/react-native-maps/-/react-native-maps-0.19.0.tgz",
"_shasum": "ce94fad1cf360e335cb4338a68c95f791e869074",
"_shrinkwrap": null,
"_spec": "react-native-maps@0.19.0",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/expo",
"author": {
"name": "Leland Richardson",
"email": "leland.m.richardson@gmail.com"
},
"bugs": {
"url": "https://github.com/airbnb/react-native-maps/issues"
},
"dependencies": {},
"description": "React Native Mapview component for iOS + Android",
"devDependencies": {
"babel-eslint": "^6.1.2",
"babel-plugin-module-resolver": "^2.3.0",
"babel-preset-airbnb": "^1.1.1",
"babel-preset-react-native": "1.9.0",
"eslint": "^3.3.1",
"eslint-config-airbnb": "^10.0.1",
"eslint-plugin-import": "^1.14.0",
"eslint-plugin-jsx-a11y": "^2.1.0",
"eslint-plugin-prefer-object-spread": "^1.1.0",
"eslint-plugin-react": "^6.1.2",
"gitbook-cli": "^2.3.0",
"lodash": "^4.17.2",
"prop-types": "^15.5.10",
"react": "16.0.0",
"react-native": "0.51.0"
},
"directories": {},
"dist": {
"integrity": "sha512-1THgPVHh8/NL/kLIyPWIsfTpjncT94O92xW+NOt+VQrdMMLX2mynyKnD/we02H29urAtYBXO8ZmVTrZ4ITn8mg==",
"shasum": "ce94fad1cf360e335cb4338a68c95f791e869074",
"tarball": "https://registry.npmjs.org/react-native-maps/-/react-native-maps-0.19.0.tgz"
},
"gitHead": "c45131096fda44383335099bee80c2cd2136c231",
"homepage": "https://github.com/airbnb/react-native-maps#readme",
"keywords": [
"react",
"react-native",
"react-component",
"map",
"mapview",
"google-maps",
"mapkit"
],
"main": "index.js",
"maintainers": [
{
"name": "ljharb",
"email": "ljharb@gmail.com"
},
{
"name": "gpeal",
"email": "gabriel@gpeal.com"
},
{
"name": "felipecsl",
"email": "felipe.lima@gmail.com"
},
{
"name": "airbnb",
"email": "jordan.harband+npm@airbnb.com"
},
{
"name": "spikebrehm",
"email": "ocelot@gmail.com"
},
{
"name": "gilbox",
"email": "g@gilbox.me"
},
{
"name": "jrichardlai",
"email": "jrichardlai@gmail.com"
},
{
"name": "cdro",
"email": "casheghian@gmail.com"
},
{
"name": "intelligibabble",
"email": "leland.m.richardson@gmail.com"
}
],
"name": "react-native-maps",
"optionalDependencies": {},
"peerDependencies": {
"react": "16.0.0",
"react-native": "0.51.0",
"prop-types": "^15.5.10"
},
"readme": "# react-native-maps [![npm version](https://img.shields.io/npm/v/react-native-maps.svg?style=flat)](https://www.npmjs.com/package/react-native-maps)\n\nReact Native Map components for iOS + Android\n\n## Installation\n\nSee [Installation Instructions](docs/installation.md).\n\nSee [Setup Instructions for the Included Example Project](docs/examples-setup.md).\n\n## Compatibility\n\nDue to the rapid changes being made in the React Native ecosystem, we are not officially going to\nsupport this module on anything but the latest version of React Native. With that said, we will do\nour best to stay compatible with older versions as much that is practical, and the peer dependency\nof this requirement is set to `\"react-native\": \"*\"` explicitly for this reason. If you are using\nan older version of React Native with this module though, some features may be buggy.\n\n### Note about React requires\n\nSince react-native 0.25.0, `React` should be required from `node_modules`.\nReact Native versions from 0.18 should be working out of the box, for lower\nversions you should add `react` as a dependency in your `package.json`.\n\n## Component API\n\n[`<MapView />` Component API](docs/mapview.md)\n\n[`<MapView.Marker />` Component API](docs/marker.md)\n\n[`<MapView.Callout />` Component API](docs/callout.md)\n\n[`<MapView.Polygon />` Component API](docs/polygon.md)\n\n[`<MapView.Polyline />` Component API](docs/polyline.md)\n\n[`<MapView.Circle />` Component API](docs/circle.md)\n\n## General Usage\n\n```js\nimport MapView from 'react-native-maps';\n```\nor\n\n```js\nvar MapView = require('react-native-maps');\n```\n\nThis MapView component is built so that features on the map (such as Markers, Polygons, etc.) are\nspecified as children of the MapView itself. This provides an intuitive and react-like API for\ndeclaratively controlling features on the map.\n\n### Rendering a Map with an initial region\n\n## MapView\n```jsx\n <MapView\n initialRegion={{\n latitude: 37.78825,\n longitude: -122.4324,\n latitudeDelta: 0.0922,\n longitudeDelta: 0.0421,\n }}\n />\n```\n\n### Using a MapView while controlling the region as state\n\n```jsx\ngetInitialState() {\n return {\n region: {\n latitude: 37.78825,\n longitude: -122.4324,\n latitudeDelta: 0.0922,\n longitudeDelta: 0.0421,\n },\n };\n}\n\nonRegionChange(region) {\n this.setState({ region });\n}\n\nrender() {\n return (\n <MapView\n region={this.state.region}\n onRegionChange={this.onRegionChange}\n />\n );\n}\n```\n\n### Rendering a list of markers on a map\n\n```jsx\n<MapView\n region={this.state.region}\n onRegionChange={this.onRegionChange}\n>\n {this.state.markers.map(marker => (\n <MapView.Marker\n coordinate={marker.latlng}\n title={marker.title}\n description={marker.description}\n />\n ))}\n</MapView>\n```\n\n### Rendering a Marker with a custom view\n\n```jsx\n<MapView.Marker coordinate={marker.latlng}>\n <MyCustomMarkerView {...marker} />\n</MapView.Marker>\n```\n\n### Rendering a Marker with a custom image\n\n```jsx\n<MapView.Marker\n coordinate={marker.latlng}\n image={require('../assets/pin.png')}\n/>\n```\n\n### Rendering a custom Marker with a custom Callout\n\n```jsx\n<MapView.Marker coordinate={marker.latlng}>\n <MyCustomMarkerView {...marker} />\n <MapView.Callout>\n <MyCustomCalloutView {...marker} />\n </MapView.Callout>\n</MapView.Marker>\n```\n\n### Draggable Markers\n\n```jsx\n<MapView initialRegion={...}>\n <MapView.Marker draggable\n coordinate={this.state.x}\n onDragEnd={(e) => this.setState({ x: e.nativeEvent.coordinate })}\n />\n</MapView>\n```\n\n### Using a custom Tile Overlay\n\n#### Tile Overlay using tile server\n\n```jsx\n<MapView\n region={this.state.region}\n onRegionChange={this.onRegionChange}\n>\n <MapView.UrlTile\n /**\n * The url template of the tile server. The patterns {x} {y} {z} will be replaced at runtime\n * For example, http://c.tile.openstreetmap.org/{z}/{x}/{y}.png\n */\n urlTemplate={this.state.u
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/airbnb/react-native-maps.git"
},
"rnpm": {
"android": {
"sourceDir": "./lib/android"
}
},
"scripts": {
"build": "npm run build:js && npm run build:android && npm run build:ios",
"build:android": "./gradlew :react-native-maps:assembleDebug",
"build:ios": "bundle install --binstubs ./examples/ios && bundle exec pod install --project-directory=./example/ios/",
"build:js": "exit 0",
"ci": "npm run lint",
"lint": "eslint ./",
"preversion": "./scripts/update-version.js",
"run:android": "./gradlew installDebug && npm run start:android",
"run:ios": "react-native run-ios --project-path ./example/ios",
"run:packager": "./node_modules/react-native/packager/packager.sh",
"start": "node node_modules/react-native/local-cli/cli.js start",
"start:android": "adb shell am start -n com.airbnb.android.react.maps.example/.MainActivity"
},
"version": "0.19.0"
}