8 Star 34 Fork 10

Gitee 极速下载 / Mapbox-GL-JS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/mapbox/mapbox-gl-js
克隆/下载
package.json 6.88 KB
一键复制 编辑 原始数据 按行查看 历史
Volodymyr Agafonkin 提交于 2024-05-22 18:27 . v3.4.0
{
"name": "mapbox-gl",
"description": "A WebGL interactive maps library",
"version": "3.4.0",
"main": "dist/mapbox-gl.js",
"style": "dist/mapbox-gl.css",
"license": "SEE LICENSE IN LICENSE.txt",
"type": "module",
"repository": {
"type": "git",
"url": "git://github.com/mapbox/mapbox-gl-js.git"
},
"dependencies": {
"@mapbox/jsonlint-lines-primitives": "^2.0.2",
"@mapbox/mapbox-gl-supported": "^3.0.0",
"@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",
"cheap-ruler": "^3.0.1",
"csscolorparser": "~1.0.3",
"earcut": "^2.2.4",
"fflate": "^0.8.1",
"geojson-vt": "^3.2.1",
"gl-matrix": "^3.4.3",
"grid-index": "^1.1.0",
"kdbush": "^4.0.1",
"lodash.clonedeep": "^4.5.0",
"murmurhash-js": "^1.0.0",
"pbf": "^3.2.1",
"potpack": "^2.0.0",
"quickselect": "^2.0.0",
"rw": "^1.3.3",
"serialize-to-js": "^3.1.2",
"supercluster": "^8.0.0",
"tiny-lru": "^11.2.6",
"tinyqueue": "^2.0.3",
"tweakpane": "^4.0.3",
"vt-pbf": "^3.1.3"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/eslint-parser": "^7.24.5",
"@mapbox/flow-remove-types": "^2.0.0",
"@mapbox/mvt-fixtures": "^3.10.0",
"@octokit/rest": "^20.1.1",
"@rollup/plugin-alias": "^5.1.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",
"@vitest/browser": "^1.6.0",
"@vitest/ui": "^1.6.0",
"address": "^2.0.2",
"browserify": "^17.0.0",
"chalk": "^5.0.1",
"chokidar": "^3.6.0",
"cross-env": "^7.0.3",
"cssnano": "^7.0.1",
"d3-queue": "^3.0.7",
"diff": "^5.2.0",
"ejs": "^3.1.10",
"envify": "^4.1.0",
"eslint": "^7.32.0",
"eslint-config-mourner": "^3.0.0",
"eslint-plugin-flowtype": "^7.0.0",
"eslint-plugin-html": "^8.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.5",
"flow-bin": "0.191.0",
"glob": "^10.3.16",
"is-builtin-module": "^4.0.0",
"jest-extended": "^4.0.2",
"json-stringify-pretty-compact": "^4.0.0",
"lodash.template": "^4.5.0",
"mapbox-gl-styles": "^2.0.2",
"minimist": "^1.2.6",
"mock-geolocation": "^1.0.11",
"msw": "^2.3.0",
"node-notifier": "^10.0.1",
"npm-font-open-sans": "^1.1.0",
"npm-run-all": "^4.1.5",
"pixelmatch": "^5.3.0",
"playwright": "^1.44.0",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"postcss-inline-svg": "^6.0.0",
"pretty-bytes": "^6.0.0",
"puppeteer-core": "^22.9.0",
"qrcode-terminal": "^0.12.0",
"rollup": "^4.17.2",
"rollup-plugin-unassert": "^0.6.0",
"serve-static": "^1.15.0",
"shuffle-seed": "^1.1.6",
"st": "^3.0.0",
"stylelint": "^16.5.0",
"stylelint-config-standard": "^36.0.0",
"tape": "^5.7.5",
"tape-filter": "^1.0.4",
"testem": "^3.13.0",
"vite-plugin-arraybuffer": "^0.0.7",
"vitest": "^1.6.0"
},
"scripts": {
"build-dev": "rollup -c --environment BUILD:dev",
"watch-dev": "rollup -c --environment BUILD:dev --watch",
"build-bench": "rollup -c --environment BUILD:bench,MINIFY:true",
"build-prod": "rollup -c --environment BUILD:production",
"build-prod-min": "rollup -c --environment BUILD:production,MINIFY:true",
"build-csp": "rollup -c rollup.config.csp.js",
"build-test-suite": "rollup -c test/integration/rollup.config.test.js",
"build-flow-types": "mkdir -p dist && cp build/mapbox-gl.js.flow dist/mapbox-gl.js.flow && cp build/mapbox-gl.js.flow dist/mapbox-gl-dev.js.flow",
"build-css": "postcss -o dist/mapbox-gl.css src/css/mapbox-gl.css",
"build-style-spec": "cd src/style-spec && npm run build && cd ../.. && mkdir -p dist/style-spec && cp src/style-spec/dist/* dist/style-spec",
"watch-css": "postcss --watch -o dist/mapbox-gl.css src/css/mapbox-gl.css",
"build-token": "node build/generate-access-token-script.js",
"start-server": "st --no-cache -H 0.0.0.0 --port 9966 --index index.html .",
"start-range-server": "node build/range-request-server.js",
"start": "run-p build-token watch-css watch-dev start-server",
"start-debug": "run-p build-token watch-css watch-dev start-server",
"prepare-release-pages": "while read l; do cp debug/$l test/release/$l; done < test/release/local_release_page_list.txt",
"start-release": "run-s build-token build-prod-min build-css print-release-url prepare-release-pages start-server",
"lint": "eslint --cache --ignore-path .gitignore src test bench 3d-style debug/*.html",
"lint-css": "stylelint 'src/css/mapbox-gl.css'",
"test": "run-s lint lint-css test-flow test-unit",
"test-suite": "run-s test-render test-query test-expressions",
"test-suite-clean": "find test/integration/{render,query, expressions}-tests -mindepth 2 -type d -exec test -e \"{}/actual.png\" \\; -not \\( -exec test -e \"{}/style.json\" \\; \\) -print | xargs -t rm -r",
"watch-unit": "vitest --config vitest.config.unit.js",
"test-unit": "vitest --config vitest.config.unit.js --run",
"test-build": "tape test/build/**/*.test.js",
"watch-render": "cross-env SUITE_NAME=render testem -f test/integration/testem/testem.js",
"watch-query": "SUITE_NAME=query testem -f test/integration/testem/testem.js",
"test-csp": "vitest --config vitest.config.csp.js --run",
"test-render": "cross-env SUITE_NAME=render testem ci -f test/integration/testem/testem.js",
"test-render-firefox": "cross-env BROWSER=Firefox SUITE_NAME=render testem ci -f test/integration/testem/testem.js",
"test-render-safari": "cross-env BROWSER=Safari SUITE_NAME=render testem ci -f test/integration/testem/testem.js",
"test-render-prod": "BUILD=production SUITE_NAME=render testem ci -f test/integration/testem/testem.js",
"test-render-csp": "BUILD=csp SUITE_NAME=render testem ci -f test/integration/testem/testem.js",
"test-query": "SUITE_NAME=query testem ci -f test/integration/testem/testem.js",
"test-expressions": "build/run-node test/expression.test.js",
"test-flow": "build/run-node build/generate-flow-typed-style-spec && flow .",
"test-style-spec": "cd src/style-spec && npm test",
"prepublishOnly": "run-s build-flow-types build-dev build-prod-min build-prod build-csp build-css build-style-spec",
"print-release-url": "node build/print-release-url.js",
"check-bundle-size": "node build/check-bundle-size.js",
"codegen": "build/run-node build/generate-style-code.js && build/run-node build/generate-struct-arrays.js"
},
"files": [
"build/",
"dist/mapbox-gl*",
"dist/style-spec/",
"dist/package.json",
"flow-typed/*.js",
"src/",
".flowconfig",
"LICENSE.txt"
],
"msw": {
"workerDirectory": [
"test/util"
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/Mapbox-GL-JS.git
git@gitee.com:mirrors/Mapbox-GL-JS.git
mirrors
Mapbox-GL-JS
Mapbox-GL-JS
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891