UNPKG

@react-native-mapbox-gl/maps

Version:

A Mapbox GL react native module for creating custom maps

107 lines (106 loc) 2.91 kB
{ "name": "@react-native-mapbox-gl/maps", "description": "A Mapbox GL react native module for creating custom maps", "version": "8.6.0-beta.0", "publishConfig": { "access": "public" }, "author": "React Native Mapbox Team", "main": "./javascript/index.js", "keywords": [ "gl", "ios", "android", "mapbox", "react-native" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/rnmapbox/maps" }, "scripts": { "fetch:style:spec": ". ./scripts/download-style-spec.sh", "generate": "node ./scripts/autogenerate", "test": "npm run lint && npm run unittest", "unittest": "jest", "unittest:single": "jest --testNamePattern", "lint": "eslint .", "lint:fix": "eslint . --fix", "prepare": "yarn build:plugin", "test:plugin": "expo-module test plugin", "build:plugin": "tsc --build plugin", "lint:plugin": "eslint plugin/src/*" }, "peerDependencies": { "prop-types": ">=15.5.8", "react": ">=16.6.1", "react-native": ">=0.59.9" }, "dependencies": { "@expo/config-plugins": "^4.0.3", "@mapbox/geo-viewport": ">= 0.4.0", "@turf/along": "6.5.0", "@turf/distance": "6.5.0", "@turf/helpers": "6.5.0", "@turf/length": "6.5.0", "@turf/nearest-point-on-line": "6.5.0", "@types/geojson": "^7946.0.7", "debounce": "^1.2.0" }, "devDependencies": { "@babel/runtime": "7.17.2", "@babel/core": "7.17.5", "@babel/plugin-proposal-class-properties": "7.16.7", "babel-jest": "^27.5.1", "@react-native-community/eslint-config": "^3.0.1", "@sinonjs/fake-timers": "^8.0.1", "@testing-library/react-native": "^8.0.0", "@typescript-eslint/eslint-plugin": "^5.2.0", "@typescript-eslint/parser": "^5.8.0", "@babel/eslint-parser": "^7.17.0", "documentation": "13.2.5", "ejs": "^3.1.3", "ejs-lint": "^1.1.0", "eslint": "^7.32.0 ", "eslint-config-prettier": "^8.1.0", "eslint-plugin-fp": "^2.3.0", "eslint-plugin-import": "2.25.3", "expo-module-scripts": "^2.0.0", "husky": "4.3.8", "jest": "27.5.1", "jest-cli": "27.5.1", "lint-staged": "^12.1.2", "metro-react-native-babel-preset": "0.69.0", "node-dir": "0.1.17", "prettier": "^2.0.4", "react": "17.0.2", "react-docgen": "^5.0.0-beta.1", "react-native": "0.67.0", "react-test-renderer": "17.0.2", "typescript": "^4.4.3" }, "jest": { "preset": "react-native", "collectCoverageFrom": [ "javascript/**/*.js" ], "setupFiles": [ "./setup-jest.js", "./__tests__/__mocks__/react-native.mock.js" ], "modulePathIgnorePatterns": [ "example", "__tests__/__mocks__", "fixtures" ] }, "husky": { "hooks": { "pre-commit": "lint-staged && npm run generate" } }, "lint-staged": { "*.{js,jsx,ts,tsx}": "yarn lint" } }