-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
composer.json
63 lines (63 loc) · 1.8 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
{
"name": "lochmueller/sourceopt",
"type": "typo3-cms-extension",
"description": "Optimization of the final page: reformatting the (x)HTML output & removal of new-lines, comments and generator-info including search and replace strings using your regular expressions. In addition combines all SVG selected within content-elements into one <symbol> file and replaces <img> by <use>.",
"homepage": "https://github.com/lochmueller/sourceopt",
"license": "GPL-2.0-or-later",
"require": {
"php": "^8.1",
"typo3/cms-core": "^12.4||^13.4"
},
"autoload": {
"psr-4": {
"HTML\\Sourceopt\\": "Classes/"
}
},
"replace": {
"maxserv/replacecontent": "*",
"typo3-ter/replacecontent": "*",
"typo3-ter/sourceopt": "self.version"
},
"require-dev": {
"typo3/testing-framework": "^8.2",
"friendsofphp/php-cs-fixer": "^3.3",
"phpmd/phpmd": "^2.10"
},
"autoload-dev": {
"psr-4": {
"HTML\\Sourceopt\\Tests\\": "Tests",
"TYPO3\\CMS\\Core\\Tests\\": ".Build/vendor/typo3/cms/typo3/sysext/core/Tests/"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
}
},
"extra": {
"typo3/cms": {
"extension-key": "sourceopt",
"web-dir": ".Build/Web"
}
},
"scripts": {
"test": [
"phpunit -c Tests/UnitTests.xml"
],
"code": [
"@code:php-cs-fixer"
],
"code:php-cs-fixer": [
"php-cs-fixer fix --config Resources/Private/Build/PhpCsFixer.php --cache-file=.Build/phpcs.cache"
],
"code:php-cs-fixer:ci": [
"php-cs-fixer fix --dry-run --diff --config Resources/Private/Build/PhpCsFixer.php --cache-file=.Build/phpcs.cache"
],
"code:phpmd": [
"phpmd Classes/ text cleancode,codesize,controversial,design,naming --ignore-errors-on-exit --ignore-violations-on-exit"
]
}
}