-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcomposer.json
60 lines (60 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
59
60
{
"name": "konafets/typo3_debugbar",
"type": "typo3-cms-extension",
"description": "Utilizes the PHP Debugbar to provide information of the system health to the frontend.",
"authors": [
{
"name": "Stefano Kowalke",
"email": "info@arroba-it.de",
"role": "Developer"
}
],
"license": ["GPL-2.0+"],
"keywords": ["typo3", "php", "debugging", "debugbar", "cms"],
"require": {
"typo3/cms-core": ">=8.7.0 <9",
"maximebf/debugbar": "^1.15"
},
"replace": {
"typo3_debugbar": "self.version"
},
"autoload": {
"psr-4": {
"Konafets\\Typo3Debugbar\\": "Classes"
},
"files": [
"helpers.php"
]
},
"scripts": {
"extension-create-libs": [
"mkdir -p Libraries/temp",
"if [ ! -f Libraries/debugbar.phar ]; then cd Libraries/temp && git clone git@github.com:maximebf/php-debugbar.git && cd php-debugbar && composer require doctrine/instantiator && composer install && composer config classmap-authoritative true && composer config prepend-autoloader true && composer dump-autoload -o; fi",
"[ -f Libraries/debugbar.phar ] || cd Libraries/temp/php-debugbar && php ../../../build/phar-builder.phar package --no-compression --include= --entry-point=vendor/autoload.php --name=debugbar.phar --output-dir=../../ -s .",
"chmod -x Libraries/*.phar",
"rm -rf Libraries/temp"
],
"extension-build": [
"@extension-create-libs"
],
"extension-release": [
"@extension-build",
"rm -rf Tests/",
"rm .gitattributes",
"rm .gitignore",
"rm .php_cs.dist",
"rm .styleci.yml",
"rm phpunit.xml.dist",
"rm appveyor.yml",
"rm .travis.yml"
],
"extension-clean": [
"rm -rf Libraries"
]
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms"
}
}
}