-
Notifications
You must be signed in to change notification settings - Fork 290
/
package.json
137 lines (137 loc) · 4.02 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "tangram",
"version": "0.22.0",
"description": "WebGL Maps for Vector Tiles",
"repository": {
"type": "git",
"url": "git://github.com/tangrams/tangram.git"
},
"main": "dist/tangram.min.mjs",
"type": "module",
"homepage": "https://github.com/tangrams/tangram",
"keywords": [
"maps",
"graphics",
"rendering",
"visualization",
"WebGL",
"OpenStreetMap"
],
"config": {
"output": "",
"output_map": ""
},
"engines": {
"npm": ">=2.0.0"
},
"scripts": {
"start": "npm run watch",
"build": "npm run build:nomodule && npm run build:nomodule:minify && npm run build:module && npm run build:module:minify && npm run build:size",
"build:module": "ESM=true ./node_modules/.bin/rollup -c",
"build:nomodule": "ESM=false ./node_modules/.bin/rollup -c",
"build:module:minify": "ESM=true MINIFY=true ./node_modules/.bin/rollup -c",
"build:nomodule:minify": "ESM=false MINIFY=true ./node_modules/.bin/rollup -c",
"build:size": "gzip dist/tangram.min.mjs -c | wc -c | awk '{kb=$1/1024; print kb}' OFMT='Module:\t\t%.0fk (min/gzip)' && gzip dist/tangram.min.js -c | wc -c | awk '{kb=$1/1024; print kb}' OFMT='No module:\t%.0fk (min/gzip)'",
"watch": "ESM=\"${ESM:=true}\" SERVE=true ./node_modules/.bin/rollup -cw",
"lint": "./node_modules/.bin/eslint src/",
"test": "npm run lint && npm run test-run",
"test-run": "npm run test-build-worker && ESM=false ./node_modules/karma/bin/karma start karma.conf.js --browsers Chrome --single-run",
"test-build-worker": "ESM=false rollup -c test/rollup.config.worker.js",
"karma-start": "./node_modules/karma/bin/karma start karma.conf.js --browsers Chrome --no-watch",
"karma-run": "./node_modules/karma/bin/karma run karma.conf.js --browsers Chrome"
},
"files": [
"src/*",
"dist/tangram.debug.mjs",
"dist/tangram.debug.mjs.map",
"dist/tangram.min.mjs",
"dist/tangram.debug.js",
"dist/tangram.debug.js.map",
"dist/tangram.min.js"
],
"author": {
"name": "Tangram contributors"
},
"contributors": [
{
"name": "Brett Camper"
},
{
"name": "Peter Richardson"
},
{
"name": "Patricio Gonzalez Vivo"
},
{
"name": "Karim Naaji"
},
{
"name": "Ivan Willig"
},
{
"name": "Lou Huang"
},
{
"name": "David Valdman"
},
{
"name": "Nick Doiron"
},
{
"name": "Francisco López"
},
{
"name": "David Manzanares"
}
],
"license": "MIT",
"dependencies": {
"@mapbox/vector-tile": "1.3.0",
"core-js": "^3.39.0",
"csscolorparser": "1.0.3",
"earcut": "2.2.2",
"fontfaceobserver": "2.0.7",
"geojson-vt": "3.2.1",
"gl-mat3": "1.0.0",
"gl-mat4": "1.1.4",
"gl-shader-errors": "1.0.3",
"js-yaml": "tangrams/js-yaml#read-only",
"jszip": "^3.10.1",
"pbf": "3.1.0",
"quickselect": "3.0.0",
"topojson-client": "tangrams/topojson-client#read-only"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/pluginutils": "^5.1.3",
"chai": "^5.1.2",
"eslint": "7.8.1",
"fast-async": "6.3.8",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup-preprocessor": "^7.0.8",
"karma-sinon": "^1.0.5",
"mocha": "^11.0.1",
"rollup": "4.20.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-serve": "^1.1.1",
"rollup-plugin-sourcemaps2": "^0.4.2",
"rollup-plugin-string-import": "^1.2.5",
"sinon": "^19.0.2"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.6.1"
}
}