-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
147 lines (147 loc) · 5.31 KB
/
composer.json
File metadata and controls
147 lines (147 loc) · 5.31 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name" : "dmk/webkitpdf",
"description" : "Extend TCEMAIN.clearCacheCmd width some userfull options like using of aliases, clearing whole branches, clearing pages on the ground of their content etc.",
"type" : "typo3-cms-extension",
"keywords" : ["TYPO3 CMS", "cache", "pdf", "webkit", "wkhtmltopdf"],
"homepage" : "http://www.dmk-ebusiness.de/",
"license" : "GPL-2.0-or-later",
"authors" : [
{
"name" : "Hannes Bochmann",
"email" : "dev@dmk-ebusiness.de",
"role" : "Developer"
}
],
"support": {
"email": "dev@dmk-ebusiness.com",
"source": "https://github.com/DMKEBUSINESSGMBH/webkitpdf",
"issues": "https://github.com/DMKEBUSINESSGMBH/webkitpdf/issues"
},
"replace": {
"typo3-ter/webkitpdf": "self.version"
},
"require": {
"linawolf/list-type-migration": "^1.0",
"typo3/cms-core": "^12.4 || ^13.4",
"typo3/cms-install": "^12.4 || ^13.4"
},
"autoload": {
"psr-4": {"DMK\\Webkitpdf\\" : "Classes"}
},
"require-dev": {
"captainhook/captainhook": "^5.10",
"friendsofphp/php-cs-fixer": "^3.8",
"helmich/typo3-typoscript-lint": "^3.1",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpcompatibility/php-compatibility": "^9.3",
"typo3/testing-framework": "^8.0 || ^9.0",
"phpmd/phpmd": "^2.14",
"phpstan/extension-installer": "^1.1 || ^2.0",
"phpstan/phpstan": "^1.1 || ^2.0",
"rector/rector": "^1.0 || ^2.0",
"saschaegerer/phpstan-typo3": "^1.0 || ^2.0",
"ssch/typo3-rector": "^2.8 | ^3.1"
},
"autoload-dev": {
"psr-4": {
"DMK\\Webkitpdf\\Tests\\" : "Tests/"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"preferred-install": {
"*": "dist"
},
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"post-autoload-dump": [
"[ -e .Build/bin/captainhook ] && .Build/bin/captainhook install -f || echo 'CaptainHook missing, skip install.'"
],
"lint:php": [
"[ -e .Build/bin/parallel-lint ] || composer update",
"echo 'parallel-lint fails with a exception if executed inside the vendor/dmk/webkitpdf folder'",
"[ ! -e ../../autoload.php ] || mv ../../autoload.php ../../autoload.php.bak",
".Build/bin/parallel-lint ./*",
"[ ! -e ../../autoload.php.bak ] || mv ../../autoload.php.bak ../../autoload.php"
],
"lint:yaml": [
"[ -e .Build/bin/yaml-lint ] || composer update",
".Build/bin/yaml-lint --ansi -n -v ./Configuration ./Resources ./.github typoscript-lint.yml"
],
"lint:typoscript": [
"[ -e .Build/bin/typoscript-lint ] || composer update",
".Build/bin/typoscript-lint --ansi -v --fail-on-warnings"
],
"lint": [
"@lint:php",
"@lint:yaml",
"@lint:typoscript"
],
"test:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update",
".Build/bin/php-cs-fixer fix -v --dry-run --diff"
],
"test:rector": [
"[ -e .Build/bin/rector ] || composer update",
".Build/bin/rector process --dry-run"
],
"test:phpcompatibility": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1-8.4"
],
"test:phpmd": [
"[ -e .Build/bin/phpmd ] || composer update --ansi",
".Build/bin/phpmd ./Classes/ text phpmd.xml"
],
"test:phpstan": [
"[ -e .Build/bin/phpstan ] || composer update --ansi",
".Build/bin/phpstan analyse -c phpstan.neon --memory-limit=512M --ansi"
],
"test:phpunit": [
"[ -e .Build/bin/phpunit ] || composer update --ansi",
"export TYPO3_PATH_APP=$PWD/.Build && export TYPO3_PATH_WEB=$PWD/.Build/Web && .Build/bin/phpunit -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml Tests/"
],
"test": [
"@test:phpcs",
"@test:rector",
"@test:phpcompatibility",
"@test:phpmd",
"@test:phpstan",
"@test:phpunit"
],
"fix:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update",
".Build/bin/php-cs-fixer fix -v"
],
"fix:rector": [
"[ -e .Build/bin/rector ] || composer update",
".Build/bin/rector process"
],
"fix": [
"@fix:phpcs",
"@fix:rector"
],
"runqa": [
"@fix",
"@lint",
"@test"
]
},
"extra": {
"branch-alias" : {
"dev-13.4": "13.0.x-dev"
},
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "webkitpdf",
"web-dir": ".Build/Web",
"app-dir": ".Build"
}
}
}