-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
46 lines (46 loc) · 1.8 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
{
"name": "openrailrouting-js-ui",
"version": "1.0.0",
"description": "A Route Planner Frontend for OpenRailRouting based on GraphHopper",
"author": "GraphHopper Community",
"license": "Apache-2.0",
"main": "main.js",
"scripts": {
"watch": "watchify src/main/resources/de/geofabrik/openrailrouting/maps/js/main-template.js -o src/main/resources/de/geofabrik/openrailrouting/maps/js/main.js --debug --verbose",
"bundle": "browserify src/main/resources/de/geofabrik/openrailrouting/maps/js/main-template.js -o src/main/resources/de/geofabrik/openrailrouting/maps/js/main.js",
"bundleDebug": "browserify src/main/resources/de/geofabrik/openrailrouting/maps/js/main-template.js --debug -o src/main/resources/de/geofabrik/openrailrouting/maps/js/main.js",
"bundleProduction": "browserify -g uglifyify src/main/resources/de/geofabrik/openrailrouting/maps/js/main-template.js -o src/main/resources/de/geofabrik/openrailrouting/maps/js/main.js",
"test": "JASMINE_CONFIG_PATH=spec/jasmine.json jasmine",
"lint": "jshint src/main/resources/de/geofabrik/openrailrouting/maps/js/"
},
"browserify": {
"transform": [
"browserify-swap"
]
},
"browserify-swap": {
"production": {
"config/options.js$": "./src/main/resources/de/geofabrik/openrailrouting/maps/js/config/options_prod.js"
}
},
"dependencies": {
"browserify": "16.2.0",
"browserify-swap": "0.2.2",
"d3": "5.11.0",
"flatpickr": "4.4.6",
"jquery": "3.5.0",
"js-yaml": "3.13.1",
"leaflet": "1.5.1",
"leaflet-contextmenu": "1.4.0",
"leaflet-loading": "0.1.24",
"leaflet.heightgraph": "0.2.0",
"leaflet.vectorgrid": "1.3.0",
"moment": "2.22.1",
"uglifyify": "5.0.2"
},
"devDependencies": {
"jasmine": "3.1.0",
"jshint": "2.9.5",
"watchify": "3.11.0"
}
}