UNPKG

@vietmap/vietmap-gl-react-native

Version:

React Native library for creating maps with VietMap Native for Android & iOS

179 lines (178 loc) 4.68 kB
{ "name": "@vietmap/vietmap-gl-react-native", "description": "React Native library for creating maps with VietMap Native for Android & iOS", "version": "2.3.1-pre.1", "publishConfig": { "access": "public" }, "author": "VietMap", "keywords": [ "maps", "ios", "android", "react-native", "vietmap", "react-native map", "vietmap apis" ], "license": "MIT", "homepage": "https://github.com/vietmap-company/vietmap-gl-react-native#readme", "repository": { "type": "git", "url": "git+https://github.com/vietmap-company/vietmap-gl-react-native.git" }, "bugs": { "url": "https://github.com/vietmap-company/vietmap-gl-react-native/issues" }, "scripts": { "codegen": "tsx scripts/codegen.ts", "test": "jest", "lint": "yarn lint:tsc && yarn lint:eslint", "lint:tsc": "tsc --project ./ && tsc --project ./packages/examples", "lint:eslint": "eslint ./ --max-warnings 0", "lint:eslint:fix": "yarn lint:eslint --fix", "plugin:build": "tsc --build ./plugin", "plugin:lint": "yarn plugin:lint:tsc && yarn plugin:lint:eslint", "plugin:lint:tsc": "tsc --noEmit --project ./plugin", "plugin:lint:eslint": "eslint ./plugin/src/* --max-warnings 0", "plugin:test": "jest ./plugin", "prepack": "bob build && yarn plugin:build" }, "workspaces": [ "apps/*", "packages/*" ], "packageManager": "yarn@4.1.0", "main": "./lib/commonjs/index.js", "source": "./src/index.ts", "module": "./lib/module/index.js", "types": "./lib/typescript/commonjs/src/index.d.ts", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } }, "./app.plugin.js": { "require": { "default": "./app.plugin.js" } }, "./plugin": { "require": { "types": "./plugin/build/withVietmap.d.ts", "default": "./plugin/build/withVietmap.js" } } }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.json", "app.plugin.js", "plugin/build/**", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "esm": true, "project": "tsconfig.build.json" } ] ] }, "peerDependenciesMeta": { "@expo/config-plugins": { "optional": true } }, "peerDependencies": { "@expo/config-plugins": ">=7", "react": ">=16.6.1", "react-native": ">=0.59.9" }, "dependencies": { "@turf/distance": "^7.1.0", "@turf/helpers": "^7.1.0", "@turf/length": "^7.1.0", "@turf/nearest-point-on-line": "^7.1.0", "@types/debounce": "^1.2.1", "@types/geojson": "^7946.0.14", "@types/jest": "^29.5.12", "@types/node": "^18.11.18", "@types/react": "^18.2.79", "@types/react-native": "0.67.8", "debounce": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.20.5", "@babel/eslint-parser": "^7.22.9", "@babel/plugin-proposal-class-properties": "7.18.6", "@babel/runtime": "7.17.2", "@expo/config-plugins": "^9.0.9", "@maplibre/maplibre-gl-style-spec": "21.1.0", "@react-native/babel-preset": "^0.74.88", "@react-native/metro-config": "^0.74.88", "@react-native/typescript-config": "^0.76.6", "@sinonjs/fake-timers": "^11.2.2", "@testing-library/react-native": "^12.4.3", "@types/ejs": "^3.1.5", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "babel-jest": "^29.6.0", "documentation": "^14.0.0", "ejs": "^3.1.10", "ejs-lint": "^2.0.0", "eslint": "^8.57.1", "eslint-config-universe": "13.0.0", "expo-module-scripts": "^4.0.2", "jest": "^29.7.0", "jest-cli": "^29.7.0", "prettier": "3.3.3", "react": "18.2.0", "react-docgen": "^7.1.0", "react-native": "^0.74.6", "react-native-builder-bob": "^0.32.0", "react-test-renderer": "18.2.0", "tsx": "^4.19.2", "typescript": "^5.5.4" }, "resolutions": { "typescript": "5.5.3" } }