maplibre-gl
Version:
BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
172 lines (171 loc) • 6.28 kB
JSON
{
"name": "maplibre-gl",
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
"version": "6.3.0",
"module": "dist/maplibre-gl.mjs",
"style": "dist/maplibre-gl.css",
"license": "BSD-3-Clause",
"homepage": "https://maplibre.org/",
"funding": "https://github.com/maplibre/maplibre-gl-js?sponsor=1",
"bugs": {
"url": "https://github.com/maplibre/maplibre-gl-js/issues/"
},
"repository": {
"type": "git",
"url": "https://github.com/maplibre/maplibre-gl-js"
},
"types": "dist/maplibre-gl.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/maplibre-gl.d.ts",
"import": "./dist/maplibre-gl.mjs"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"sideEffects": [
"*.css",
"src/**/*.ts"
],
"dependencies": {
"@mapbox/point-geometry": "^1.1.0",
"@mapbox/tiny-sdf": "^2.2.0",
"@mapbox/unitbezier": "^1.0.0",
"@mapbox/vector-tile": "^3.0.0",
"@maplibre/geojson-vt": "^6.1.1",
"@maplibre/maplibre-gl-style-spec": "^26.2.1",
"@maplibre/mlt": "^1.1.12",
"@maplibre/vt-pbf": "^4.3.2",
"@types/geojson": "^7946.0.16",
"earcut": "^3.2.3",
"gl-matrix": "^3.4.4",
"kdbush": "^4.1.0",
"murmurhash-js": "^1.0.0",
"pbf": "^5.1.2",
"potpack": "^2.1.0",
"quickselect": "^3.0.0",
"tinyqueue": "^3.0.0"
},
"devDependencies": {
"@mapbox/mapbox-gl-rtl-text": "^0.4.0",
"@mapbox/mvt-fixtures": "^4.0.0",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/d3": "^7.4.3",
"@types/earcut": "^3.0.0",
"@types/eslint": "^9.6.1",
"@types/gl": "^6.0.5",
"@types/jsdom": "^28.0.3",
"@types/minimist": "^1.2.5",
"@types/murmurhash-js": "^1.0.7",
"@types/nise": "^1.4.5",
"@types/node": "^26.1.2",
"@types/offscreencanvas": "^2019.7.3",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.5",
"@types/request": "^2.48.13",
"@types/shuffle-seed": "^1.1.3",
"@types/window-or-global": "^1.0.6",
"@typescript-eslint/eslint-plugin": "^8.66.0",
"@typescript-eslint/parser": "^8.59.3",
"@typescript/native-preview": "beta",
"@unicode/unicode-17.0.0": "^1.6.17",
"@vitest/coverage-v8": "4.1.10",
"@vitest/eslint-plugin": "^1.6.26",
"@vitest/ui": "4.1.10",
"address": "^2.0.3",
"autoprefixer": "^10.5.4",
"canvas": "^3.2.3",
"cross-env": "^10.1.0",
"cspell": "^10.0.1",
"cssnano": "^8.0.4",
"d3": "^7.9.0",
"d3-queue": "^3.0.7",
"devtools-protocol": "^0.0.1674729",
"diff": "^9.0.0",
"eslint": "^10.8.0",
"eslint-plugin-html": "^8.1.4",
"eslint-plugin-tsdoc": "0.5.2",
"expect": "^30.4.1",
"glob": "^13.0.6",
"globals": "^17.9.0",
"is-builtin-module": "^5.0.0",
"jsdom": "^30.0.1",
"minimist": "^1.2.8",
"mock-geolocation": "^1.0.11",
"monocart-coverage-reports": "^2.12.12",
"nise": "^6.1.5",
"npm-font-open-sans": "^1.1.0",
"npm-run-all": "^4.1.5",
"pdf-merger-js": "^5.1.2",
"pixelmatch": "^7.2.0",
"pngjs": "^7.0.0",
"postcss": "^8.5.25",
"postcss-cli": "^11.0.1",
"postcss-inline-svg": "^6.0.0",
"pretty-bytes": "^7.1.1",
"puppeteer": "^25.5.0",
"regenerate": "^1.4.2",
"rolldown": "^1.2.3",
"rolldown-plugin-dts": "^0.27.8",
"rw": "^1.3.3",
"semver": "^7.8.5",
"sharp": "^0.35.3",
"shuffle-seed": "^1.1.6",
"st": "^4.0.4",
"stylelint": "^17.14.1",
"stylelint-config-standard": "^40.0.0",
"tslib": "^2.8.1",
"typedoc": "^0.28.20",
"typedoc-plugin-markdown": "^4.11.0",
"typescript": "^6.0.3",
"vite": "^8.2.1",
"vitest": "^4.1.5",
"vitest-webgl-canvas-mock": "^1.1.0"
},
"scripts": {
"generate-unicode-data": "node build/generate-unicode-data.ts",
"generate-shaders": "node build/generate-shaders.ts",
"generate-struct-arrays": "node build/generate-struct-arrays.ts",
"generate-style-code": "node build/generate-style-code.ts",
"generate-typings": "cross-env BUILD=types rolldown -c rolldown.config.ts",
"generate-docs": "typedoc && node build/generate-docs.ts",
"generate-images": "node build/generate-doc-images.ts",
"build-dist": "npm run build-css && npm run generate-unicode-data && npm run generate-shaders && npm run build-dev && npm run build-prod",
"build-dev": "cross-env BUILD=dev rolldown -c rolldown.config.ts",
"watch-dev": "cross-env BUILD=dev rolldown -c rolldown.config.ts --watch",
"build-prod": "cross-env BUILD=production rolldown -c rolldown.config.ts",
"build-css": "postcss -o dist/maplibre-gl.css src/css/maplibre-gl.css",
"watch-css": "postcss --watch -o dist/maplibre-gl.css src/css/maplibre-gl.css",
"spellcheck": "cspell",
"docs": "npm run generate-docs && docker compose run --rm docs",
"start-server": "st --no-cache -H localhost --port 9966 .",
"start-docs": "docker compose run --rm -it --service-ports docs-serve",
"start": "run-p watch-css watch-dev start-server",
"lint": "eslint",
"lint-css": "stylelint **/*.css verbose",
"test": "run-p lint lint-css test-render test-unit test-integration test-build",
"test-unit": "vitest run --config vitest.config.unit.ts",
"test-unit-ci": "vitest run --config vitest.config.unit.ts --coverage",
"test-integration": "vitest run --config vitest.config.integration.ts",
"test-integration-ci": "vitest run --config vitest.config.integration.ts --coverage",
"test-build": "vitest run --config vitest.config.build.ts",
"test-build-ci": "vitest run --config vitest.config.build.ts --coverage",
"test-watch-roots": "vitest --config vitest.config.unit.ts --watch",
"test-render": "vitest test/integration/render/render.test.ts",
"codegen": "run-p --print-label generate-style-code generate-unicode-data generate-struct-arrays generate-shaders && npm run generate-typings",
"bench": "vitest bench --run --config vitest.config.bench.ts",
"bench-e2e": "node test/bench/e2e/run.ts",
"prepare": "npm run codegen",
"typecheck": "tsgo --noEmit && tsgo --project tsconfig.dist.json"
},
"files": [
"build/",
"dist/*",
"src/"
],
"engines": {
"npm": ">=8.1.0",
"node": ">=16.14.0"
}
}