mapbox-gl
Version:
A WebGL interactive maps library
117 lines (116 loc) • 3.51 kB
JSON
{
"name": "mapbox-gl",
"description": "A WebGL interactive maps library",
"version": "0.8.1",
"main": "js/mapbox-gl.js",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git://github.com/mapbox/mapbox-gl-js.git"
},
"dependencies": {
"brfs": "1.2.0",
"csscolorparser": "~1.0.2",
"envify": "2.0.1",
"feature-filter": "1.0.2",
"geojson-rewind": "~0.1.0",
"geojson-vt": "^2.1.0",
"gl-matrix": "https://github.com/toji/gl-matrix/archive/v2.2.1.tar.gz",
"glify": "0.5.0",
"mapbox-gl-function": "^1.0.0",
"mapbox-gl-style-spec": "^7.4.0",
"minifyify": "^6.1.0",
"pbf": "^1.2.0",
"pngjs": "^0.4.0",
"point-geometry": "0.0.0",
"rbush": "^1.3.4",
"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": "^9.0.0",
"budo": "^4.0.0",
"documentation": "git+https://github.com/documentationjs/documentation#d341019b32a8a257a93bd55586e7f09f42e29341",
"eslint": "^0.14.1",
"istanbul": "^0.3.0",
"mapbox-gl-test-suite": "git+https://github.com/mapbox/mapbox-gl-test-suite.git#632163906f90883c611d09f57a5c5b988d1e923f",
"marked": "0.3.x",
"mkdirp": "^0.5.0",
"prova": "^2.1.2",
"st": "^0.5.4",
"through": "^2.3.6",
"underscore": "1.6.x",
"watchify": "^3.2.1"
},
"optionalDependencies": {
"gl": "git+https://github.com/kkaefer/headless-gl.git"
},
"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
}
}
}