-
Notifications
You must be signed in to change notification settings - Fork 25
/
composer.json
58 lines (58 loc) · 1.89 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
{
"name": "fab/rss-display",
"type": "typo3-cms-extension",
"description": "Fetch a RSS / Atom Feed and display its content on the Frontend.",
"homepage": "https://github.com/fabarea/rss_display",
"license": [
"GPL-2.0+"
],
"keywords": [
"TYPO3 CMS",
"RSS feed",
"Atom"
],
"support": {
"issues": "https://github.com/fabarea/rss_display/issues"
},
"require": {
"typo3/cms-core": "^10.4 || ^11.5",
"simplepie/simplepie": "^1.5"
},
"autoload": {
"psr-4": {
"Fab\\RssDisplay\\": "Classes/"
}
},
"replace": {
"fab/rss_display": "self.version",
"typo3-ter/rss-display": "self.version"
},
"extra": {
"typo3/cms": {
"extension-key": "rss_display"
}
},
"scripts": {
"extension-create-libs": [
"mkdir -p Libraries/temp",
"[ -f $(composer config --global home)/vendor/bin/phar-composer ] || composer global require clue/phar-composer",
"if [ ! -f Libraries/simplepie-simplepie.phar ]; then cd Libraries/temp && composer require simplepie/simplepie=^1.5 && composer config classmap-authoritative true && composer config prepend-autoloader false && composer dump-autoload; fi",
"[ -f Libraries/simplepie-simplepie.phar ] || $(composer config --global home)/vendor/bin/phar-composer build Libraries/temp/ Libraries/simplepie-simplepie.phar",
"chmod -x Libraries/*.phar",
"rm -rf Libraries/temp"
],
"extension-build": [
"@extension-create-libs"
],
"extension-release": [
"@extension-build",
"rm -rf Tests/",
"rm -f .editorconfig",
"rm -f .gitattributes",
"rm -f .gitignore"
],
"extension-clean": [
"rm -rf Libraries"
]
}
}