-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
113 lines (113 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
{
"name": "pagemachine/typo3-mail-css-inliner",
"description": "CSS inliner for the TYPO3 mailer ",
"license": "GPL-3.0-or-later",
"type": "typo3-cms-extension",
"keywords": [
"typo3",
"mail",
"css",
"inline"
],
"authors": [
{
"name": "Mathias Brodala",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"symfony/mailer": "^5.4 || ^6.4 || ^7.0",
"symfony/mime": "^5.4 || ^6.4 || ^7.0",
"tijsverkoyen/css-to-inline-styles": "^2.2",
"typo3/cms-core": "^11.5 || ^12.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.8",
"friendsofphp/php-cs-fixer": "^3.45",
"http-interop/http-factory-guzzle": "^1.2",
"jangregor/phpstan-prophecy": "^1.0.0",
"php-http/curl-client": "^2.1",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^9.0",
"rpkamp/mailhog-client": "^2.0.0",
"typo3/coding-standards": "^0.7.1",
"typo3/testing-framework": "^7.0"
},
"replace": {
"typo3-ter/mail-css-inliner": "self.version"
},
"autoload": {
"psr-4": {
"Pagemachine\\MailCssInliner\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Pagemachine\\MailCssInliner\\Tests\\": "Tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"php-http/discovery": false,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"sort-packages": true
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "mail_css_inliner",
"web-dir": "web"
}
},
"scripts": {
"analyze:php": "phpstan analyse --ansi --no-progress --configuration=phpstan.neon",
"build": [
"@composer require --no-progress --ansi --update-with-dependencies typo3/cms-core $TYPO3_VERSION",
"@composer validate --ansi",
"@composer normalize --no-update-lock --dry-run",
"@lint",
"@test"
],
"build:cleanup": [
"git reset --hard",
"git clean -xfd"
],
"build:ter:vendors": [
"(mkdir -p /tmp/vendors && cd /tmp/vendors && composer require tijsverkoyen/css-to-inline-styles:^2.2 && composer global exec phar-composer build -v)",
"cp /tmp/vendors/vendors.phar .",
"echo \"require 'phar://' . \\TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility::extPath('$(composer config extra.typo3/cms.extension-key)') . 'vendors.phar/vendor/autoload.php';\" >> ext_localconf.php"
],
"deploy:ter": [
"@build:cleanup",
"@deploy:ter:setup",
"@build:ter:vendors",
"@deploy:ter:upload"
],
"deploy:ter:setup": [
"@composer global require clue/phar-composer typo3/tailor"
],
"deploy:ter:upload": [
"composer global exec -v -- tailor ter:publish --comment \"$(git tag -l --format='%(contents)' $TAG)\" $TAG"
],
"fix:style": "php-cs-fixer fix --diff",
"lint": [
"@lint:php",
"@lint:style",
"@analyze:php"
],
"lint:php": "parallel-lint --show-deprecated --exclude vendor --exclude web .",
"lint:style": "php-cs-fixer fix --dry-run --diff",
"test": [
"@test:unit",
"@test:functional"
],
"test:functional": "phpunit --configuration phpunit-functional.xml --colors=always",
"test:unit": "phpunit --colors=always"
}
}