-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
114 lines (114 loc) · 3.84 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
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
{
"name": "daniel-km/omeka-s-module-mirador",
"type": "library",
"description": "Module for Omeka S that integrates Mirador, an advanced viewer, in order to display one or multiple images, audio, and video, local or remote, via the IIIF standard.",
"license": "CECILL-2.1",
"authors": [
{
"name": "Daniel Berthereau",
"email": "Daniel.packagist@Berthereau.net"
}
],
"homepage": "https://gitlab.com/Daniel-KM/Omeka-S-module-Mirador",
"support": {
"issues": "https://gitlab.com/Daniel-KM/Omeka-S-module-Mirador/-/issues",
"forum": "https://forum.omeka.org/"
},
"keywords": [
"Omeka S",
"module",
"viewer",
"iiif",
"digital library"
],
"require": {
"mirador/mirador": "3.3.0",
"mirador/mirador-2": "2.7.0",
"mirador/mirador-2-plugins": "0.0.1",
"oomphinc/composer-installers-extender": "^2.0"
},
"require-dev": {
"projectmirador/mirador-integration": "0.0.2"
},
"autoload": {
"psr-4": {
"Mirador\\": "src/"
}
},
"repositories": [
{
"type": "package",
"package": {
"name": "mirador/mirador-2",
"type": "omeka-addon-asset",
"version": "2.7.0",
"dist": {
"url": "https://github.com/ProjectMirador/mirador/releases/download/v2.7.0/build.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "mirador/mirador-2-plugins",
"type": "omeka-addon-asset",
"version": "0.0.1",
"dist": {
"url": "https://github.com/Daniel-KM/Omeka-S-module-Mirador/releases/download/3.4.9/mirador-2-plugins.zip",
"type": "zip"
}
}
},
{
"type": "package",
"package": {
"name": "mirador/mirador",
"type": "omeka-addon-asset",
"version": "3.3.0",
"dist": {
"url": "https://github.com/Daniel-KM/Omeka-S-module-Mirador/releases/download/3.4.9/mirador-3.3.0.tar.gz",
"type": "tar"
}
}
},
{
"type": "package",
"package": {
"name": "projectmirador/mirador-integration",
"version": "0.0.2",
"dist": {
"url": "https://gitlab.com/Daniel-KM/Mirador-integration-Omeka/-/archive/master/Mirador-integration-Omeka-master.zip",
"type": "zip"
}
}
}
],
"extra": {
"installer-types": ["omeka-addon-asset"],
"installer-paths": {
"asset/vendor/{$name}/": ["type:omeka-addon-asset"]
}
},
"scripts": {
"pre-install-cmd": "@pre-build",
"pre-update-cmd": "@pre-build",
"pre-build": [
"@php -r 'exec(sprintf(\"rm -rf %s\", escapeshellarg(__DIR__ . \"/asset/vendor/mirador-2\")));'"
],
"post-install-cmd": "@post-build",
"post-update-cmd": "@post-build",
"post-build": [
"# Move Mirador 2 to asset/vendor/mirador-2.",
"@php -r '@rename(__DIR__ . \"/asset/vendor/mirador-2/mirador\", __DIR__ . \"/asset/vendor/mirador-2b\");'",
"@php -r 'exec(sprintf(\"rm -rf %s\", escapeshellarg(__DIR__ . \"/asset/vendor/mirador-2\")));'",
"@php -r '@rename(__DIR__ . \"/asset/vendor/mirador-2b\", __DIR__ . \"/asset/vendor/mirador-2\");'"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"oomphinc/composer-installers-extender": true
}
}
}