UNPKG

itowns

Version:

A JS/WebGL framework for 3D geospatial data visualization

76 lines (75 loc) 2.55 kB
{ "name": "itowns", "version": "2.45.1", "description": "A JS/WebGL framework for 3D geospatial data visualization", "type": "module", "main": "lib/Main.js", "exports": { ".": "./lib/Main.js", "./widgets": "./lib/Utils/gui/Main.js" }, "scripts": { "lint": "eslint \"src/**/*.{js,ts,tsx}\" \"test/**/*.js\"", "transpile": "cross-env BABEL_DISABLE_CACHE=1 babel src --out-dir lib --extensions .js,.ts", "test-unit": "npm run base-test-unit test/unit", "base-test-unit": "cross-env BABEL_DISABLE_CACHE=1 mocha --timeout 5000 --file test/unit/bootstrap.js --import=../../config/babel-register/register.mjs", "test-with-coverage": "c8 -n src -r html cross-env npm run test-unit", "test-with-coverage_lcov": "c8 -n src --reporter=lcov cross-env npm run test-unit", "watch": "npm run transpile -- --watch", "prepublishOnly": "npx copyfiles -u 1 \"../../examples/**/*\" ./examples/ && npx copyfiles -u 1 \"../../docs/**/*\" ./docs/ && npx copyfiles -u 1 \"../../dist/**/*\" ./dist/ ", "postpublish": "node clean.cjs", "publish-latest": "npm publish --access public --tag=latest --provenance", "prerelease-next": "npm version prerelease --preid next", "publish-next": "npm publish --access public --tag=next --provenance", "update-package": "npm remove @itowns/geographic && npm install @itowns/geographic@$npm_package_version --save" }, "c8": { "exclude": [ "**/test/**", "**/lib/**", "**/*ThreeExtended", "**/*src/Utils/placeObjectOnGround.js", "**/*src/Parser/deprecated/LegacyGLTFLoader.js" ] }, "files": [ "*.md", "dist", "lib", "doc", "examples" ], "repository": { "type": "git", "url": "git+https://github.com/iTowns/itowns.git" }, "license": "(CECILL-B OR MIT)", "bugs": { "url": "https://github.com/iTowns/itowns/issues" }, "dependencies": { "@itowns/geographic": "^2.45.1", "@mapbox/vector-tile": "^2.0.3", "@maplibre/maplibre-gl-style-spec": "^22.0.0", "@tmcw/togeojson": "^5.8.1", "@tweenjs/tween.js": "^25.0.0", "3d-tiles-renderer": "^0.4.4", "brotli-compress": "^1.3.3", "copc": "^0.0.6", "earcut": "^3.0.0", "js-priority-queue": "^0.1.5", "lru-cache": "^11.0.1", "pbf": "^4.0.1", "shpjs": "^6.1.0", "threads": "^1.7.0" }, "peerDependencies": { "proj4": "^2.12.1", "three": "^0.170.0" }, "devDependencies": { "chalk": "^5.3.0", "copyfiles": "^2.4.1" }, "homepage": "https://itowns.github.io/" }