mapbox-gl
Version:
A WebGL interactive maps library
131 lines (130 loc) • 5.72 kB
JSON
{
"name": "mapbox-gl",
"description": "A WebGL interactive maps library",
"version": "0.35.1",
"main": "dist/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": {
"@mapbox/gl-matrix": "^0.0.1",
"@mapbox/shelf-pack": "^3.0.0",
"@mapbox/unitbezier": "^0.0.0",
"@mapbox/whoots-js": "^3.0.0",
"brfs": "^1.4.0",
"bubleify": "^0.7.0",
"earcut": "^2.0.3",
"geojson-rewind": "^0.1.0",
"geojson-vt": "^2.4.0",
"grid-index": "^1.0.0",
"mapbox-gl-supported": "^1.2.0",
"package-json-versionify": "^1.0.2",
"pbf": "^1.3.2",
"point-geometry": "^0.0.0",
"quickselect": "^1.0.0",
"supercluster": "^2.0.1",
"through2": "^2.0.3",
"tinyqueue": "^1.1.0",
"unassertify": "^2.0.0",
"unflowify": "^1.0.0",
"vector-tile": "^1.3.0",
"vt-pbf": "^2.0.2",
"webworkify": "^1.4.0"
},
"devDependencies": {
"@mapbox/mapbox-gl-rtl-text": "^0.1.0",
"@mapbox/mapbox-gl-test-suite": "file:test/integration",
"babel-eslint": "^7.0.0",
"benchmark": "~2.1.0",
"browserify": "^14.0.0",
"clipboard": "^1.5.12",
"concat-stream": "^1.6.0",
"coveralls": "^2.11.8",
"derequire": "^2.0.6",
"documentation": "4.0.0-beta12",
"envify": "^4.0.0",
"eslint": "3.12.1",
"eslint-config-mourner": "^2.0.0",
"eslint-plugin-flowtype": "^2.20.0",
"eslint-plugin-html": "^2.0.0",
"flow-bin": "^0.42.0",
"flow-remove-types": "^1.0.4",
"github-slugger": "^1.1.1",
"gl": "^4.0.1",
"glob": "^7.0.3",
"highlight.js": "^9.9.0",
"in-publish": "^2.0.0",
"jsdom": "^9.11.0",
"lodash": "^4.16.0",
"minifyify": "^7.0.1",
"npm-run-all": "^4.0.1",
"nyc": "^10.1.2",
"pngjs": "^3.0.0",
"proxyquire": "^1.7.9",
"remark": "^6.0.1",
"remark-html": "^5.0.1",
"request": "^2.79.0",
"sinon": "^2.1.0",
"st": "^1.2.0",
"tap": "^10.3.0",
"vinyl": "^2.0.1",
"vinyl-fs": "^2.4.4",
"watchify": "^3.7.0"
},
"browserify": {
"transform": [
"unflowify",
[
"bubleify",
{
"bubleError": true,
"transforms": {
"dangerousForOf": true
}
}
],
"package-json-versionify",
"unassertify",
"brfs",
"./src/style-spec/minifyify_style_spec"
]
},
"browser": {
"./src/util/window.js": "./src/util/browser/window.js",
"./src/util/web_worker.js": "./src/util/browser/web_worker.js"
},
"scripts": {
"build-dev": "browserify src/index.js --debug --ignore-transform unassertify --standalone mapboxgl > dist/mapbox-gl-dev.js && tap --no-coverage test/build/dev.test.js",
"watch-dev": "watchify src/index.js --debug --ignore-transform unassertify --standalone mapboxgl --outfile dist/mapbox-gl-dev.js --verbose",
"build-min": "browserify src/index.js --debug --plugin [minifyify --map mapbox-gl.js.map --output dist/mapbox-gl.js.map] --standalone mapboxgl | derequire > 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 --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": "flow-node docs/style-spec/_generate/generate.js && documentation build --github --format html --config ./docs/documentation.yml --theme ./docs/_theme --output docs/api/ src/index.js",
"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 --cache --ignore-path .gitignore src test bench docs/_posts/examples/*.html debug/*.html",
"lint-docs": "documentation lint src/index.js",
"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",
"test": "run-s lint test-unit test-flow",
"test-suite": "run-s test-render test-query",
"test-suite-clean": "find test/integration/*-tests -mindepth 2 -type d -not \\( -exec test -e \"{}/style.json\" \\; \\) -print | xargs -t rm -r",
"test-unit": "tap --reporter dot --no-coverage test/unit",
"test-render": "node test/render.test.js",
"test-query": "node test/query.test.js",
"test-flow": "flow .",
"test-cov": "nyc --require=flow-remove-types/register --reporter=text-summary --reporter=lcov --cache run-s test-unit test-render test-query",
"prepublish": "in-publish && run-s build-dev build-min || not-in-publish",
"postinstall": "cd src/style-spec && yarn || npm install"
}
}