mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-27 19:11:15 +00:00
80 lines
2.1 KiB
JSON
80 lines
2.1 KiB
JSON
{
|
|
"name": "@mapbox/react-native-mapbox-gl",
|
|
"description": "A Mapbox GL react native module for creating custom maps",
|
|
"version": "6.0.0-beta1",
|
|
"author": "Bobby Sudekum",
|
|
"main": "./javascript/index.js",
|
|
"keywords": [
|
|
"gl",
|
|
"ios",
|
|
"android",
|
|
"mapbox",
|
|
"react-component",
|
|
"react-native"
|
|
],
|
|
"licenses": [
|
|
{
|
|
"type": "BSD",
|
|
"url": "https://github.com/mapbox/react-native-mapbox-gl/blob/master/LICENSE.md"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mapbox/react-native-mapbox-gl"
|
|
},
|
|
"scripts": {
|
|
"fetch:ios:sdk": "node ./scripts/download-mapbox-gl-native-ios-if-on-mac.js 3.6.1",
|
|
"fetch:style:spec": ". ./scripts/download-style-spec.sh",
|
|
"generate": "node ./scripts/autogenerate",
|
|
"preinstall": "yarn run fetch:ios:sdk",
|
|
"test": "yarn run lint && yarn run unittest",
|
|
"unittest": "jest --coverage --verbose",
|
|
"lint": "./node_modules/eslint/bin/eslint.js ./javascript/** ./example/src/** ./__tests__/**",
|
|
"lint:fix": "yarn run lint -- --fix"
|
|
},
|
|
"peerDependencies": {
|
|
"prop-types": ">=15.5.8",
|
|
"react": "16.0.0-alpha.12",
|
|
"react-native": ">=0.47.1"
|
|
},
|
|
"dependencies": {
|
|
"@turf/helpers": "4.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "6.1.2",
|
|
"babel-jest": "21.0.2",
|
|
"babel-preset-react-native": "3.0.2",
|
|
"ejs": "^2.5.7",
|
|
"ejs-lint": "^0.3.0",
|
|
"eslint": "^3.19.0",
|
|
"eslint-config-strict-react": "8.0.1",
|
|
"eslint-plugin-import": "2.7.0",
|
|
"eslint-plugin-react": "5.2.2",
|
|
"jest": "21.0.2",
|
|
"node-dir": "0.1.17",
|
|
"react": "^15.6.1",
|
|
"react-docgen": "2.18.0",
|
|
"react-native": "0.48.3",
|
|
"react-test-renderer": "16.0.0-alpha.12"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"collectCoverageFrom": [
|
|
"javascript/**/*.js"
|
|
],
|
|
"setupFiles": [
|
|
"./__tests__/__mocks__/react-native-mapbox-gl.mock.js",
|
|
"./__tests__/__mocks__/react-native.mock.js"
|
|
],
|
|
"modulePathIgnorePatterns": [
|
|
"example",
|
|
"__tests__/__mocks__"
|
|
]
|
|
},
|
|
"rnpm": {
|
|
"android": {
|
|
"sourceDir": "./android/rctmgl"
|
|
}
|
|
}
|
|
}
|