forked from mapbox/mapbox-gl-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 3.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"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": "^8.0.0",
"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#f21d42c120e7652252d39bf3d4eb4edd2f172dfb",
"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": 0,
"new-cap": 0,
"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
}
}
}