UNPKG

mapbox-gl

Version:
115 lines (114 loc) 3.45 kB
{ "name": "mapbox-gl", "description": "A WebGL interactive maps library", "version": "0.9.0", "main": "js/mapbox-gl.js", "license": "BSD-3-Clause", "repository": { "type": "git", "url": "git://github.com/mapbox/mapbox-gl-js.git" }, "dependencies": { "brfs": "^1.4.0", "csscolorparser": "^1.0.2", "envify": "^3.4.0", "feature-filter": "^1.0.2", "geojson-vt": "^2.1.0", "gl-matrix": "^2.3.1", "glify": "^0.5.0", "mapbox-gl-function": "^1.0.0", "mapbox-gl-style-spec": "^7.4.1", "minifyify": "^7.0.1", "pbf": "^1.3.2", "pngjs": "^0.4.0", "point-geometry": "^0.0.0", "rbush": "^1.4.0", "request": "^2.39.0", "resolve-url": "^0.2.1", "unitbezier": "^0.0.0", "vector-tile": "^1.1.3", "webworkify": "^1.0.2" }, "devDependencies": { "benchmark": "~1.0.0", "bistre": "^1.0.1", "browserify": "^10.2.4", "budo": "^4.0.0", "documentation": "git+https://github.com/documentationjs/documentation#d341019b32a8a257a93bd55586e7f09f42e29341", "eslint": "^0.22.1", "istanbul": "^0.3.15", "mapbox-gl-test-suite": "git+https://github.com/mapbox/mapbox-gl-test-suite.git#b6b8a25e76231c2ceed341e024b4dce462c45a24", "mkdirp": "^0.5.1", "prova": "^2.1.2", "sinon": "^1.15.4", "st": "^0.5.4", "through": "^2.3.7", "watchify": "^3.2.2" }, "optionalDependencies": { "gl": "git+https://github.com/mapbox/headless-gl.git#cce881612f24b60843da6db8b3e4a2f108793298" }, "browserify": { "transform": [ "envify", "glify", "brfs" ] }, "browser": { "./js/util/ajax.js": "./js/util/browser/ajax.js", "./js/util/browser.js": "./js/util/browser/browser.js", "./js/util/canvas.js": "./js/util/browser/canvas.js", "./js/util/dom.js": "./js/util/browser/dom.js", "./js/util/dispatcher.js": "./js/util/browser/dispatcher.js" }, "scripts": { "start": "budo js/mapbox-gl.js --serve=debug/mapbox-gl.js --live -t --standalone mapboxgl | bistre", "lint": "eslint js test", "test": "npm run lint && prova test/js/*/*.js", "test-suite": "node test/render.test.js || true", "build": "browserify -d js/mapbox-gl.js --standalone mapboxgl > dist/mapbox-gl-dev.js && npm run docs", "production": "browserify js/mapbox-gl.js -d -p [minifyify --map mapbox-gl.js.map --output dist/mapbox-gl.js.map] --standalone mapboxgl > dist/mapbox-gl.js", "prepublish": "npm run build && npm run production", "cov": "istanbul cover prova test/js/*/*.js test/render.test.js -x js/lib/debugtext.js", "docs": "node docs/_generate/generate.js" }, "eslintConfig": { "rules": { "no-use-before-define": [ 2, "nofunc" ], "camelcase": 2, "space-after-function-name": 2, "space-in-parens": 2, "space-before-blocks": 2, "space-after-keywords": 2, "comma-style": 2, "no-lonely-if": 2, "no-else-return": 2, "new-cap": 2, "no-empty": 2, "no-new": 2, "no-multi-spaces": 0, "space-in-brackets": 0, "brace-style": 0, "quotes": 0, "no-underscore-dangle": 0, "curly": 0, "no-constant-condition": 0, "no-native-reassign": 0, "no-shadow": 0, "key-spacing": 0 }, "env": { "node": true, "browser": true }, "globals": { "Map": true, "Buffer": true, "Worker": true } } }