UNPKG

mapbox-gl

Version:
117 lines (116 loc) 5.54 kB
{ "name": "mapbox-gl", "description": "A WebGL interactive maps library", "version": "0.26.0", "main": "js/mapbox-gl.js", "license": "BSD-3-Clause", "repository": { "type": "git", "url": "git://github.com/mapbox/mapbox-gl-js.git" }, "engines": { "node": ">=4.0.0" }, "dependencies": { "csscolorparser": "^1.0.2", "earcut": "^2.0.3", "feature-filter": "^2.2.0", "geojson-rewind": "^0.1.0", "geojson-vt": "^2.4.0", "gl-matrix": "^2.3.1", "grid-index": "^1.0.0", "mapbox-gl-function": "mapbox/mapbox-gl-function#111a2b442be0689a65f5818dd2603c9b06962be0", "mapbox-gl-shaders": "mapbox/mapbox-gl-shaders#44b65f8090a74cbb0319664d010b8d8a8a1512b0", "mapbox-gl-style-spec": "mapbox/mapbox-gl-style-spec#7d330d2abf1775abc95ab8b889089cf5ff579357", "mapbox-gl-supported": "^1.2.0", "package-json-versionify": "^1.0.2", "pbf": "^1.3.2", "pngjs": "^2.2.0", "point-geometry": "^0.0.0", "quickselect": "^1.0.0", "request": "^2.39.0", "shelf-pack": "^1.0.0", "supercluster": "^2.0.1", "tinyqueue": "^1.1.0", "unassertify": "^2.0.0", "unitbezier": "^0.0.0", "vector-tile": "^1.3.0", "vt-pbf": "^2.0.2", "webworkify": "^1.4.0", "whoots-js": "^2.0.0" }, "devDependencies": { "babel-preset-react": "^6.11.1", "babelify": "^7.3.0", "benchmark": "~2.1.0", "browserify": "^13.0.0", "clipboard": "^1.5.12", "concat-stream": "1.5.1", "coveralls": "^2.11.8", "doctrine": "^1.2.1", "documentation": "https://github.com/documentationjs/documentation/archive/bb41619c734e59ef3fbc3648610032efcfdaaace.tar.gz", "documentation-theme-utils": "3.0.0", "envify": "^3.4.0", "eslint": "^3.3.1", "eslint-config-mourner": "^2.0.0", "eslint-plugin-html": "^1.5.1", "gl": "^4.0.1", "handlebars": "4.0.5", "highlight.js": "9.3.0", "jsdom": "^9.4.2", "json-loader": "^0.5.4", "lodash": "^4.13.1", "mapbox-gl-test-suite": "mapbox/mapbox-gl-test-suite#ceba0a2e2e8e5860aa2550c53bb6083387d053d3", "memory-fs": "^0.3.0", "minifyify": "^7.0.1", "npm-run-all": "^3.0.0", "nyc": "^8.3.0", "proxyquire": "^1.7.9", "remark": "4.2.2", "remark-html": "3.0.0", "sinon": "^1.15.4", "st": "^1.2.0", "tap": "^5.7.0", "transform-loader": "^0.2.3", "unist-util-visit": "1.1.0", "vinyl": "1.1.1", "vinyl-fs": "2.4.3", "watchify": "^3.7.0" }, "browserify": { "transform": [ "package-json-versionify", "unassertify" ] }, "browser": { "./js/util/window.js": "./js/util/browser/window.js", "./js/util/web_worker.js": "./js/util/browser/web_worker.js" }, "scripts": { "build-dev": "browserify js/mapbox-gl.js --debug --ignore-transform unassertify --standalone mapboxgl > dist/mapbox-gl-dev.js && tap --no-coverage test/build/dev.test.js", "watch-dev": "watchify js/mapbox-gl.js --debug --ignore-transform unassertify --standalone mapboxgl --outfile dist/mapbox-gl-dev.js --verbose", "build-min": "browserify js/mapbox-gl.js --debug --plugin [minifyify --map mapbox-gl.js.map --output dist/mapbox-gl.js.map] --standalone mapboxgl > dist/mapbox-gl.js && tap --no-coverage test/build/min.test.js", "build-token": "browserify debug/access_token.js --debug --transform envify > debug/access_token_generated.js", "build-benchmarks": "BENCHMARK_VERSION=\"$(git rev-parse --abbrev-ref HEAD) $(git rev-parse --short=7 HEAD)\" browserify bench/benchmarks.js --plugin [minifyify --no-map] --transform envify --outfile bench/benchmarks_generated.js --verbose", "watch-benchmarks": "BENCHMARK_VERSION=\"$(git rev-parse --abbrev-ref HEAD) $(git rev-parse --short=7 HEAD)\" watchify bench/benchmarks.js --plugin [minifyify --no-map] --transform envify --outfile bench/benchmarks_generated.js --verbose", "watch-benchmarks-view": "watchify bench/benchmarks_view.js --debug --transform [babelify --presets react] --outfile bench/benchmarks_view_generated.js --verbose", "start-server": "st --no-cache --localhost --port 9966 --index index.html .", "start": "run-p build-token watch-dev watch-benchmarks watch-benchmarks-view start-server", "start-debug": "run-p build-token watch-dev start-server", "start-bench": "run-p build-token watch-benchmarks watch-benchmarks-view start-server", "build-docs": "documentation build --github --format html --config documentation.yml --theme ./docs/_theme --output docs/api/", "build": "npm run build-docs # invoked by publisher when publishing docs on the mb-pages branch", "start-docs": "npm run build-min && npm run build-docs && jekyll serve --watch", "lint": "eslint --ignore-path .gitignore js test bench docs/_posts/examples/*.html", "open-changed-examples": "git diff --name-only mb-pages HEAD -- docs/_posts/examples/*.html | awk '{print \"http://127.0.0.1:4000/mapbox-gl-js/example/\" substr($0,33,length($0)-37)}' | xargs open", "plugin-deploy":"set -e; node plugins/exists.js; aws s3 sync --exclude *.DS_Store --acl public-read plugins/src s3://mapbox-gl-js/plugins/; echo ' -- DEPLOYED --'", "test": "run-s lint test-unit test-plugin", "test-plugin":"tap test/plugins/", "test-suite": "run-s test-render test-query", "test-unit": "tap --reporter dot --no-coverage test/js", "test-render": "node test/render.test.js", "test-query": "node test/query.test.js", "test-cov": "nyc --reporter=text-summary --cache run-s test-unit test-render test-query" } }