-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
102 lines (102 loc) · 3.3 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
{
"name": "openstreetbrowser",
"version": "5.4.0",
"description": "A re-make of the famous OpenStreetBrowser (pure JS, using Overpass API)",
"main": "src/export.js",
"repository": "https://github.com/plepe/openstreetbrowser",
"author": "Stephan Bösch-Plepelits <[email protected]>",
"license": "GPL-3.0",
"dependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/plugin-transform-runtime": "^7.19.1",
"@babel/preset-env": "^7.19.4",
"@fortawesome/fontawesome-free": "^6.5.1",
"@mapbox/maki": "^8.0.1",
"@rapideditor/temaki": "^5.7.0",
"@turf/area": "^6.3.0",
"@turf/boolean-within": "^7.0.0",
"@turf/length": "^6.3.0",
"async": "^3.2.4",
"babelify": "^10.0.0",
"color-interpolate": "^1.0.5",
"event-emitter": "^0.3.5",
"file-saver": "^2.0.5",
"formatcoords": "^1.1.3",
"i18next-client": "^1.11.4",
"ip-location": "^1.0.1",
"js-yaml": "^4.1.0",
"json-multiline-strings": "^0.1.0",
"leaflet": "^1.9.4",
"leaflet-geosearch": "^3.7.0",
"leaflet-polylineoffset": "^1.1.1",
"leaflet-textpath": "git+https://github.com/makinacorpus/Leaflet.TextPath.git#leaflet0.8-dev",
"leaflet.locatecontrol": "^0.72.2",
"leaflet.polylinemeasure": "git+https://github.com/ppete2/Leaflet.PolylineMeasure.git",
"md5": "^2.3.0",
"measure-ts": "^3.3.2",
"mini-svg-data-uri": "^1.4.4",
"modulekit-tabs": "^0.2.2",
"moment": "^2.29.3",
"natsort": "^2.0.3",
"opening_hours": "^3.8.0",
"openstreetbrowser-categories-main": "git+https://github.com/plepe/openstreetbrowser-categories-main.git",
"openstreetbrowser-markers": "^1.2.0",
"openstreetmap-date-format": "^0.4.0",
"openstreetmap-date-parser": "^0.1.2",
"openstreetmap-tag-translations": "git+https://github.com/plepe/openstreetmap-tag-translations.git",
"overpass-frontend": "^3.1.2",
"overpass-layer": "^3.4.0",
"query-string": "^6.13.8",
"sheet-router": "^4.2.3",
"sprintf-js": "^1.1.2",
"weight-sort": "^1.3.1"
},
"overrides": {
"osmtogeojson": {
"@xmldom/xmldom": "~0.8.10"
}
},
"scripts": {
"test": "mocha --bail",
"build": "npm run build-locales && npm run build-code",
"build-code": "browserify -g browserify-css src/index.js -t [ babelify ] -o dist/openstreetbrowser.js && minify dist/openstreetbrowser.js > dist/openstreetbrowser.min.js",
"build-locales": "for i in `ls locales/` ; do browserify locales/$i -o dist/locale-$i ; done",
"watch": "watchify --debug -g browserify-css src/index.js -o dist/openstreetbrowser.js -v",
"prepare": "npm run build",
"lint": "standard src/*.js"
},
"devDependencies": {
"browserify": "^17.0.0",
"browserify-css": "^0.15.0",
"leaflet-polylinedecorator": "git+https://github.com/plepe/Leaflet.PolylineDecorator.git",
"minify": "^7.2.2",
"mocha": "^9.2.2",
"standard": "^16.0.4",
"watchify": "^4.0.0"
},
"standard": {
"global": [
"lang",
"ui_lang",
"config",
"options",
"alert",
"L",
"register_hook",
"call_hooks",
"call_hooks_callback",
"XMLHttpRequest",
"map",
"overpassFrontend",
"location",
"baseCategory",
"currentPath",
"overpassUrl",
"ajax"
],
"rules": {
"camelcase": 0
}
}
}