1 Star 0 Fork 0

wclwksn/maplibre-gl-js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 8.06 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "maplibre-gl",
"description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
"version": "4.1.3",
"main": "dist/maplibre-gl.js",
"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": "git://github.com/maplibre/maplibre-gl-js.git"
},
"types": "dist/maplibre-gl.d.ts",
"type": "module",
"dependencies": {
"@mapbox/geojson-rewind": "^0.5.2",
"@mapbox/jsonlint-lines-primitives": "^2.0.2",
"@mapbox/point-geometry": "^0.1.0",
"@mapbox/tiny-sdf": "^2.0.6",
"@mapbox/unitbezier": "^0.0.1",
"@mapbox/vector-tile": "^1.3.1",
"@mapbox/whoots-js": "^3.1.0",
"@maplibre/maplibre-gl-style-spec": "^20.1.1",
"@types/geojson": "^7946.0.14",
"@types/geojson-vt": "3.2.5",
"@types/junit-report-builder": "^3.0.2",
"@types/mapbox__point-geometry": "^0.1.4",
"@types/mapbox__vector-tile": "^1.3.4",
"@types/pbf": "^3.0.5",
"@types/supercluster": "^7.1.3",
"earcut": "^2.2.4",
"geojson-vt": "^3.2.1",
"gl-matrix": "^3.4.3",
"global-prefix": "^3.0.0",
"kdbush": "^4.0.2",
"murmurhash-js": "^1.0.0",
"pbf": "^3.2.1",
"potpack": "^2.0.0",
"quickselect": "^2.0.0",
"supercluster": "^8.0.1",
"tinyqueue": "^2.0.3",
"vt-pbf": "^3.1.3"
},
"devDependencies": {
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
"@mapbox/mvt-fixtures": "^3.10.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/benchmark": "^2.1.5",
"@types/cssnano": "^5.0.0",
"@types/d3": "^7.4.3",
"@types/diff": "^5.2.0",
"@types/earcut": "^2.1.4",
"@types/eslint": "^8.56.7",
"@types/gl": "^6.0.5",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/jsdom": "^21.1.6",
"@types/minimist": "^1.2.5",
"@types/murmurhash-js": "^1.0.6",
"@types/nise": "^1.4.4",
"@types/node": "^20.12.7",
"@types/offscreencanvas": "^2019.7.3",
"@types/pixelmatch": "^5.2.6",
"@types/pngjs": "^6.0.4",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.3.0",
"@types/request": "^2.48.12",
"@types/shuffle-seed": "^1.1.3",
"@types/window-or-global": "^1.0.6",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"address": "^2.0.2",
"benchmark": "^2.1.4",
"canvas": "^2.11.2",
"cssnano": "^7.0.0",
"d3": "^7.9.0",
"d3-queue": "^3.0.7",
"devtools-protocol": "^0.0.1292262",
"diff": "^5.2.0",
"dts-bundle-generator": "^9.5.1",
"eslint": "^8.57.0",
"eslint-config-mourner": "^3.0.0",
"eslint-plugin-html": "^8.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.2.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-tsdoc": "0.2.17",
"expect": "^29.7.0",
"glob": "^10.3.12",
"is-builtin-module": "^3.2.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-monocart-coverage": "^1.1.0",
"jest-webgl-canvas-mock": "^2.5.3",
"jsdom": "^24.0.0",
"json-stringify-pretty-compact": "^4.0.0",
"junit-report-builder": "^3.2.1",
"minimist": "^1.2.8",
"mock-geolocation": "^1.0.11",
"monocart-coverage-reports": "^2.7.9",
"nise": "^5.1.9",
"npm-font-open-sans": "^1.1.0",
"npm-run-all": "^4.1.5",
"pdf-merger-js": "^5.1.1",
"pixelmatch": "^5.3.0",
"pngjs": "^7.0.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-inline-svg": "^6.0.0",
"pretty-bytes": "^6.1.1",
"puppeteer": "^22.7.1",
"react": "^18.2.0",
"react-dom": "^18.3.0",
"rollup": "^4.16.4",
"rollup-plugin-sourcemaps": "^0.6.3",
"rw": "^1.3.3",
"semver": "^7.6.0",
"shuffle-seed": "^1.1.6",
"source-map-explorer": "^2.5.3",
"st": "^3.0.0",
"stylelint": "^16.4.0",
"stylelint-config-standard": "^36.0.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^3.17.1",
"typedoc-plugin-missing-exports": "^2.2.0",
"typescript": "^5.4.5"
},
"overrides": {
"postcss-inline-svg": {
"css-select": "^5.1.0",
"dom-serializer": "^2.0.0",
"htmlparser2": "^8.0.1",
"postcss-value-parser": "^4.2.0"
}
},
"scripts": {
"generate-dist-package": "node --no-warnings --loader ts-node/esm build/generate-dist-package.js",
"generate-shaders": "node --no-warnings --loader ts-node/esm build/generate-shaders.ts",
"generate-struct-arrays": "node --no-warnings --loader ts-node/esm build/generate-struct-arrays.ts",
"generate-style-code": "node --no-warnings --loader ts-node/esm build/generate-style-code.ts",
"generate-typings": "dts-bundle-generator --export-referenced-types --umd-module-name=maplibregl -o ./dist/maplibre-gl.d.ts ./src/index.ts",
"generate-docs": "typedoc && node --no-warnings --loader ts-node/esm build/generate-docs.ts",
"generate-images": "node --no-warnings --loader ts-node/esm build/generate-doc-images.ts",
"build-dist": "npm run build-css && npm run generate-typings && npm run build-dev && npm run build-csp-dev && npm run build-prod && npm run build-csp",
"build-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev",
"watch-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev --watch",
"build-prod": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:production",
"build-csp": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.csp.ts",
"build-csp-dev": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.csp.ts --environment BUILD:dev",
"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",
"build-benchmarks": "npm run build-dev && rollup --configPlugin @rollup/plugin-typescript -c test/bench/rollup_config_benchmarks.ts",
"watch-benchmarks": "rollup --configPlugin @rollup/plugin-typescript -c test/bench/rollup_config_benchmarks.ts --watch",
"start-server": "st --no-cache -H 0.0.0.0 --port 9966 .",
"start-docs": "docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material",
"start": "run-p watch-css watch-dev start-server",
"start-bench": "run-p watch-css watch-benchmarks start-server",
"lint": "eslint --cache --ext .ts,.tsx,.js,.html --ignore-path .gitignore .",
"lint-css": "stylelint src/css/maplibre-gl.css",
"test": "run-p lint lint-css test-render jest",
"jest": "jest",
"test-build": "jest --selectProjects=build --reporters=default",
"test-build-ci": "jest --selectProjects=build",
"test-integration": "jest --selectProjects=integration --reporters=default",
"test-integration-ci": "jest --selectProjects=integration",
"test-render": "node --no-warnings --loader ts-node/esm test/integration/render/run_render_tests.ts",
"test-unit": "jest --selectProjects=unit --reporters=default",
"test-unit-ci": "jest --coverage --selectProjects unit",
"test-watch-roots": "jest --watch",
"codegen": "run-p --print-label generate-dist-package generate-style-code generate-struct-arrays generate-shaders && npm run generate-typings",
"benchmark": "node --no-warnings --loader ts-node/esm test/bench/run-benchmarks.ts",
"gl-stats": "node --no-warnings --loader ts-node/esm test/bench/gl-stats.ts",
"prepare": "npm run codegen",
"typecheck": "tsc --noEmit && tsc --project tsconfig.dist.json",
"tsnode": "node --experimental-loader=ts-node/esm --no-warnings"
},
"files": [
"build/",
"dist/*",
"src/"
],
"engines": {
"npm": ">=8.1.0",
"node": ">=16.14.0"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wclwksn/maplibre-gl-js.git
git@gitee.com:wclwksn/maplibre-gl-js.git
wclwksn
maplibre-gl-js
maplibre-gl-js
main

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385