@six33/h3-reactnative
Version:
React Native version of the H3 library, a hexagon-based geographic grid system
120 lines (119 loc) • 5.57 kB
JSON
{
"name": "@six33/h3-reactnative",
"version": "3.7.3",
"description": "React Native version of the H3 library, a hexagon-based geographic grid system",
"keywords": [
"h3",
"hexagon",
"spatial-indexing",
"emscripten",
"geolocation"
],
"homepage": "https://github.com/SIX33-Software/h3-reactnative#readme",
"bugs": {
"url": "https://github.com/SIX33-Software/h3-reactnative/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SIX33-Software/h3-reactnative.git"
},
"license": "Apache-2.0",
"author": "Nick Rabinowitz <nickr@uber.com>",
"contributors": [
{
"name": "David Ellis",
"email": "isv.damocles@gmail.com"
},
{
"name": "Priyam Mohanty",
"email": "priyam.mohanty@gmail.com"
}
],
"type": "commonjs",
"main": "dist/h3-js.js",
"types": "dist/types.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"build-update-h3": "bash scripts/update-h3.sh",
"build-emscripten": "npm run build-update-h3 && npm run docker-emscripten",
"build-docs": "jsdoc2md --no-cache --global-index-format grouped --partial doc-files/scope.hbs --helper ./doc-files/insert-version.js --separators --template doc-files/README.tmpl.md lib/h3core.js > README.md",
"build-tsd": "jsdoc -t node_modules/tsd-jsdoc/dist -d console lib/h3core.js | sed 's/\"h3\"/\"h3-js\"/g' > dist/types.d.ts",
"bundle-umd": "microbundle --name h3 --format=umd",
"bundle-cjs": "microbundle --format=cjs --no-compress",
"bundle-es": "microbundle --format=es --no-compress",
"bundle-cjs-browser": "microbundle -o dist/browser --format=cjs --no-compress --alias ../out/libh3=$(printf '%q' \"$PWD\")/dist/libh3-browser",
"bundle-es-browser": "microbundle -o dist/browser --format=es --no-compress --alias ../out/libh3=$(printf '%q' \"$PWD\")/dist/libh3-browser",
"dist": "npm run dist-clean && npm run docker-emscripten-browser && npm run bundle-umd && npm run bundle-cjs && npm run bundle-cjs-browser && npm run bundle-es && npm run bundle-es-browser && npm run build-tsd",
"dist-clean": "rm -rf dist",
"rollup-test": "rollup test/index.js --file dist/test.js --sourcemap --format=cjs --external=tape,fs,path",
"rollup-bindings": "rollup build/print-bindings.js --file dist/print-bindings.js --format cjs",
"rollup-benchmark-browser": "rollup benchmark/browser.js --file dist/benchmark.browser.js --format=umd --external=benchmark --globals=benchmark:Benchmark",
"rollup-benchmark-node": "rollup benchmark/node.js --file dist/benchmark.node.js --format=cjs --external=benchmark",
"docker-boot": "docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-tag-1.38.43-64bit bash",
"docker-reboot": "docker stop emscripten && docker rm emscripten && npm run docker-boot",
"docker-emscripten": "npm run docker-emscripten-umd",
"docker-emscripten-run": "npm run rollup-bindings && docker exec emscripten bash scripts/update-emscripten.sh",
"docker-emscripten-umd": "npm run docker-emscripten-run -o libh3.js",
"docker-emscripten-browser": "npm run docker-emscripten-run -s ENVIRONMENT=web -o libh3-browser.js && mv out/libh3-browser.js dist",
"check-prettier": "npm run prettier && git diff --exit-code",
"check-docs": "npm run build-docs && git diff --exit-code",
"check-tsd": "npm run build-tsd && tsc --strict --noEmit dist/types.d.ts",
"lint": "eslint lib* test/*",
"test": "npm run lint && npm run test-fast",
"test-fast": "npm run test-raw | faucet",
"test-raw": "npm run rollup-test && node dist/test.js",
"cover": "npm run rollup-test && nyc --clean --reporter=lcov --reporter=text node dist/test.js",
"cover-view": "npm run rollup-test && nyc --clean --reporter=html node dist/test.js && open coverage/index.html",
"benchmark-node": "npm run rollup-benchmark-node && node dist/benchmark.node.js",
"benchmark-browser": "npm run rollup-benchmark-browser && budo dist/benchmark.browser.js --open --title 'h3-js benchmarks'",
"prettier": "prettier --write --config .prettierrc 'lib/**/*.js' 'build/**/*.js' 'test/**/*.js'"
},
"dependencies": {
"react-native-fs": "^2.16.6",
"path": "^0.12.7"
},
"devDependencies": {
"benchmark": "^2.1.4",
"budo": "^11.5.0",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-uber-es2015": "^3.1.2",
"eslint-plugin-prettier": "^2.6.0",
"faucet": "0.0.1",
"jsdoc": "^3.6.6",
"jsdoc-to-markdown": "^6.0.1",
"microbundle": "^0.11.0",
"nyc": "^14.1.1",
"path": "^0.12.7",
"prettier": "^1.12.1",
"rollup": "^1.7.0",
"tape": "^4.8.0",
"tsd-jsdoc": "^2.3.1",
"typescript": "^3.6.3"
},
"engines": {
"node": ">=4",
"npm": ">=3"
},
"umd:main": "dist/h3-js.umd.js",
"unpkg": "dist/h3-js.umd.js",
"module": "dist/h3-js.es.js",
"es2015": "dist/h3-js.es.js",
"source": "lib/h3core.js",
"resolutions": {
"js-yaml": "3.13.1",
"ws": "3.3.3"
},
"volta": {
"node": "12.19.0"
},
"nyc": {
"exclude": [
"**/out/**",
"**/test/**"
]
}
}