forked from TIBHannover/ojsGeo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
56 lines (56 loc) · 1.51 KB
/
composer.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
{
"name": "optimeta/geo",
"description": "Create and display spatio-temporal metadata for publications",
"license": "GPL-3.0-or-later",
"keywords": [
"Optimeta",
"spatial",
"temporal",
"geo"
],
"require": {
"php": ">=7.3",
"bower-asset/leaflet": "1.6.0",
"bower-asset/leaflet-draw": "1.0.4",
"bower-asset/leaflet-control-geocoder": "2.4.0",
"bower-asset/leaflet-color-markers": "v1.0.0",
"npm-asset/daterangepicker": "3.1",
"bower-asset/moment": "2.18.1",
"oomphinc/composer-installers-extender": "^2.0"
},
"autoload": {
"psr-4": {
"Optimeta\\Geo\\":"classes"
}
},
"extra": {
"installer-types": [
"bower-asset",
"npm-asset"
],
"installer-paths": {
"js/lib/{$name}/": [
"type:bower-asset",
"type:npm-asset"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"config": {
"allow-plugins": {
"composer/installers": true,
"oomphinc/composer-installers-extender": true
}
},
"scripts": {
"post-update-cmd": [
"if [ ! -f 'js/lib/leaflet-control-geocoder/dist/Control.Geocoder.min.js' ]; then cd js/lib/leaflet-control-geocoder/ && npm install; fi",
"php -f js/lib/cleanup-js-lib.php"
]
}
}