forked from mapbox/mapbox-gl-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.66 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
{
"name": "mapbox-gl",
"description": "A WebGL interactive maps library",
"version": "0.20.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",
"envify": "^3.4.0",
"feature-filter": "^2.1.0",
"geojson-rewind": "^0.1.0",
"geojson-vt": "2.1.8",
"gl-matrix": "^2.3.1",
"grid-index": "^0.1.0",
"mapbox-gl-function": "^1.2.1",
"mapbox-gl-js-supported": "^1.1.0",
"mapbox-gl-shaders": "mapbox/mapbox-gl-shaders#30caf388dbddd02cfc4f967ffc94c1338c30fbf8",
"mapbox-gl-style-spec": "mapbox/mapbox-gl-style-spec#2461efc3d883f2f2e56a6c6b2bfd7d54bbfe9f86",
"minifyify": "^7.0.1",
"pbf": "^1.3.2",
"pngjs": "^2.2.0",
"point-geometry": "^0.0.0",
"quickselect": "^1.0.0",
"request": "^2.39.0",
"resolve-url": "^0.2.1",
"shelf-pack": "^1.0.0",
"supercluster": "^2.0.1",
"unassertify": "^2.0.0",
"unitbezier": "^0.0.0",
"vector-tile": "^1.2.1",
"vt-pbf": "^2.0.2",
"webworkify": "1.2.0",
"whoots-js": "^2.0.0"
},
"devDependencies": {
"benchmark": "~2.1.0",
"browserify": "^13.0.0",
"browserify-middleware": "^7.0.0",
"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",
"eslint": "^2.5.3",
"eslint-config-mourner": "^2.0.0",
"express": "^4.13.4",
"gl": "^4.0.1",
"handlebars": "4.0.5",
"highlight.js": "9.3.0",
"istanbul": "^0.4.2",
"lodash": "^4.13.1",
"mapbox-gl-test-suite": "mapbox/mapbox-gl-test-suite#64cf15b657e12b070fede3f2fd3f5ac4fc096e5b",
"nyc": "^6.1.1",
"remark": "4.2.2",
"remark-html": "3.0.0",
"sinon": "^1.15.4",
"st": "^1.0.0",
"tap": "^5.7.0",
"through": "^2.3.7",
"unist-util-visit": "1.1.0",
"vinyl": "1.1.1",
"vinyl-fs": "2.4.3",
"watchify": "^3.2.2"
},
"browserify": {
"transform": [
"envify"
]
},
"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": {
"build-dev": "browserify -d js/mapbox-gl.js --standalone mapboxgl > dist/mapbox-gl-dev.js",
"build-docs": "documentation build --github --format html -c documentation.yml --theme ./docs/_theme --output docs/api/",
"build-min": "browserify js/mapbox-gl.js --debug --transform unassertify --plugin [minifyify --map mapbox-gl.js.map --output dist/mapbox-gl.js.map] --standalone mapboxgl > dist/mapbox-gl.js",
"build": "npm run build-docs # this script exists only to be invoked by the documenation server",
"download-bench-data": "[ -f ./bench/data/naturalearth-land.json ] || (mkdir -p ./bench/data && curl -s https://d2ad6b4ur7yvpq.cloudfront.net/naturalearth-3.3.0/ne_50m_land.geojson > ./bench/data/naturalearth-land.json)",
"lint": "eslint js test bench",
"start-docs": "npm run build-min && npm run build-docs && jekyll serve -w",
"start": "npm run download-bench-data && node server.js",
"test-suite": "node test/render.test.js && node test/query.test.js # update ci.sh if test invocation changes",
"test": "npm run lint && npm run build-min && tap --reporter dot test/js/*/*.js # update ci.sh if test invocation changes"
}
}