UNPKG

@goongmaps/goong-map-react-native

Version:

A Goong GL react native module for creating custom maps

114 lines (113 loc) 3.27 kB
{ "name": "@goongmaps/goong-map-react-native", "description": "A Goong GL react native module for creating custom maps", "version": "0.0.7", "publishConfig": { "access": "public" }, "author": "React Native Mapbox Team", "main": "./javascript/index.js", "keywords": [ "gl", "ios", "android", "goong", "react-native" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/goong-io" }, "scripts": { "fetch:ios:sdk": "node ./scripts/download-mapbox-gl-native-ios-if-on-mac.js 0.0.6", "fetch:style:spec": ". ./scripts/download-style-spec.sh", "generate": "node ./scripts/autogenerate", "preinstall": "npm run fetch:ios:sdk", "test": "npm run lint && npm run unittest", "unittest": "jest --coverage --verbose", "unittest:single": "jest --testNamePattern", "format": "npm run lint -- --fix", "lint": "eslint . --ignore-pattern 'example' --ignore-pattern 'scripts' --fix && cd example/ && eslint . --ignore-pattern 'scripts' --fix" }, "peerDependencies": { "prop-types": ">=15.5.8", "react": "^16.6.1", "react-native": ">=0.57.6" }, "dependencies": { "@mapbox/geo-viewport": ">= 0.4.0", "@turf/along": ">= 4.0.0 <7.0.0", "@turf/distance": ">= 4.0.0 <7.0.0", "@turf/helpers": ">= 4.6.0 <7.0.0", "underscore": "^1.8.3" }, "devDependencies": { "@babel/core": "7.5.0", "@babel/plugin-proposal-class-properties": "7.5.0", "@babel/plugin-transform-exponentiation-operator": "7.2.0", "@babel/plugin-transform-flow-strip-types": "7.4.4", "@babel/plugin-transform-runtime": "7.5.0", "@babel/runtime": "7.5.0", "@types/geojson": "^7946.0.7", "babel-core": "7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-jest": "24.8.0", "documentation": "12.1.2", "ejs": "^2.5.7", "ejs-lint": "^0.3.0", "eslint": "^6.8.0", "eslint-config-airbnb-base": "^13.1.0", "eslint-config-prettier": "^6.0.0", "eslint-config-strict-react": "9.0.2", "eslint-plugin-flowtype": "^3.4.2", "eslint-plugin-fp": "^2.3.0", "eslint-plugin-import": "2.17.3", "eslint-plugin-prettier": "^3.1.0", "eslint-plugin-react": "7.13.0", "eslint-plugin-react-native": "^3.6.0", "flow-bin": "^0.95.1", "husky": "3.0.5", "jest": "24.8.0", "jest-cli": "^24.8.0", "lint-staged": "^8.2.0", "metro-react-native-babel-preset": "0.49.1", "node-dir": "0.1.17", "prettier": "^1.11.1", "react": "16.8.6", "react-docgen": "^5.0.0-beta.1", "react-native": "0.59.10", "react-native-testing-library": "^1.11.1", "react-test-renderer": "16.8.3" }, "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__" ] }, "husky": { "hooks": { "pre-commit": "lint-staged && npm run generate" } }, "lint-staged": { "linters": { "*.js": [ "yarn lint", "git add" ] }, "ignore": [ "**/scripts/**/*.js" ] } }