UNPKG

gdal-async

Version:

Bindings to GDAL (Geospatial Data Abstraction Library) with full async support

136 lines (135 loc) 4.97 kB
{ "name": "gdal-async", "version": "3.10.2", "description": "Bindings to GDAL (Geospatial Data Abstraction Library) with full async support", "license": "Apache-2.0", "url": "https://github.com/mmomtchev/node-gdal-async", "main": "./lib/gdal.js", "types": "./lib/index.d.ts", "keywords": [ "gdal", "libgdal", "ogr", "gis", "geo", "geos", "geography", "geospatial", "raster", "vector", "gtiff", "geojson", "mapping" ], "binary": { "module_name": "gdal", "module_path": "./lib/binding/{node_abi}-{platform}-{arch}", "remote_path": "v{version}", "host": "https://github.com/mmomtchev/node-gdal-async/releases/download/", "package_name": "{node_abi}-{platform}-{arch}.tar.gz", "hosting": { "provider": "github", "repo": "mmomtchev/node-gdal-async" } }, "repository": { "type": "git", "url": "https://github.com/mmomtchev/node-gdal-async.git" }, "funding": { "url": "https://github.com/sponsors/mmomtchev", "type": "individual" }, "contributors": [ { "name": "Brandon Reavis", "url": "https://github.com/brandonreavis", "email": "brandon@naturalatlas.com" }, { "name": "Momtchil Momtchev", "url": "https://github.com/mmomtchev", "email": "momtchil@momtchev.com" } ], "scripts": { "test": "npm run lint:js && mocha && npm run test:stress 20", "bench": "node bench/streams.js", "lint:cpp": "clang-format -i src/*.cpp src/*.hpp && clang-format -i src/*/*.cpp src/*/*.hpp", "lint:js": "eslint lib test examples", "lint:fix": "eslint lib test examples --fix", "lint": "npm run lint:js && npm run lint:cpp", "install": "node-pre-gyp install --fallback-to-build -j max", "postinstall": "node scripts/motd", "yatag": "npx yatag", "gpp": "gpp -H lib/default_iterators.gpp -o lib/default_iterators.js && eslint --fix lib/default_iterators.js", "doc:build": "npx documentation build --config=documentation.yml src/*.cpp src/collections/*.cpp src/geometry/*.cpp lib/*.js -f=html -o=doc --theme=node_modules/documentation-hipster/index.js", "doc:publish": "npm run doc:build && node ./scripts/publish-docs.js", "preversion": "npm run lint && npx yatag && npm run test", "gcov": "mkdir -p coverage && cd coverage && gcov -o ../build/Debug/obj.target/gdal/src ../src/*", "lcov": "npx c8 report --reporter=text-lcov > coverage/tests.lcov", "codecov": "cd coverage && curl -s https://codecov.io/bash | bash", "version": "git add package.json", "postversion": "git push && git push --tags && node ./scripts/publish-packages.mjs && npm run doc:publish", "container": "bash scripts/container.sh", "test:u20": "npm run container dev ubuntu:20.04 18 shared", "test:u20n16": "npm run container dev ubuntu:20.04 16 shared", "test:u20n18": "npm run container dev ubuntu:20.04 18 shared", "test:u20n20": "npm run container dev ubuntu:20.04 20 shared", "test:c8": "npm run container dev centos:stream9 18 shared", "test:arch": "npm run container dev archlinux:latest 20 shared", "test:f36": "npm run container dev fedora:36 18 shared", "test:shared": "npm run test:u20 && npm run test:c8", "test:clean": "npx rimraf test/data/*.tmp* test/data/temp/*", "test:stress": "node test/stress", "prune": "npx rimraf 'deps/@(libgdal|libproj)/*/!(data)' && npx rimraf 'deps/libcurl/!(cacert.pem)' && npx rimraf 'deps/!(libgdal|libproj|libcurl)'", "postpublish": "gh workflow run test-npm.yml -F version=$npm_package_version" }, "dependencies": { "@mapbox/node-pre-gyp": "^1.0.8", "nan": "^2.17.0", "node-gyp": "^11.0.0", "xmlbuilder2": "^3.0.2", "yatag": "^1.2.0" }, "bundleDependencies": [ "@mapbox/node-pre-gyp" ], "devDependencies": { "@eslint/eslintrc": "^3.1.0", "@eslint/js": "^9.8.0", "@mmomtchev/documentation": "^14.0.1", "@mmomtchev/node-pre-gyp-github": "^2.0.0", "@octokit/core": "^6.0.1", "@types/chai": "^4.2.18", "@types/chai-as-promised": "^7.1.5", "@types/mocha": "^10.0.6", "@types/node": "^22.0.0", "@types/semver": "^7.3.9", "@types/ungap__structured-clone": "^1.2.0", "@typescript-eslint/eslint-plugin": "^8.0.1", "@typescript-eslint/parser": "^8.0.1", "@ungap/structured-clone": "^1.2.0", "aws-sdk": "^2.1130.0", "benny": "^3.7.1", "c8": "^10.1.2", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "documentation-hipster": "^1.0.0", "documentation-polyglot": "^1.0.1", "eslint": "^9.8.0", "eslint-plugin-array-func": "^4.0.0", "eslint-plugin-mocha": "^10.1.0", "eslint-plugin-prefer-arrow": "^1.1.3", "gh-pages": "^6.1.1", "globals": "^15.9.0", "mocha": "^11.0.1", "semver": "^7.3.5", "ts-node": "^10.7.0", "tsconfig-paths": "^4.0.0", "typescript": "^5.3.3" }, "engines": { "node": ">=18" } }