-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
116 lines (116 loc) · 3.75 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
114
115
116
{
"name": "pagemachine/typo3-flat-urls",
"description": "Flat URLs (like Stack Overflow) for TYPO3",
"license": "GPL-3.0-or-later",
"type": "typo3-cms-extension",
"keywords": [
"typo3",
"urls",
"flat",
"stackoverflow"
],
"authors": [
{
"name": "Mathias Brodala",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"doctrine/dbal": "^2.0 || ^3.0 || ^4.0",
"psr/http-message": "^1.0 || ^2.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/console": "^5.4 || ^6.4 || ^7.0",
"typo3/cms-backend": "^11.5 || ^12.4",
"typo3/cms-core": "^11.5 || ^12.4",
"typo3/cms-extbase": "^11.5 || ^12.4",
"typo3/cms-fluid": "^11.5 || ^12.4",
"typo3/cms-frontend": "^11.5 || ^12.4",
"typo3/cms-redirects": "^11.5.7 || ^12.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.8",
"friendsofphp/php-cs-fixer": "^3.41",
"jangregor/phpstan-prophecy": "^1.0.0",
"php-parallel-lint/php-console-highlighter": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.0.0",
"phpunit/phpunit": "^9.0",
"sclable/xml-lint": "^0.8.0",
"typo3/coding-standards": "^0.7.1",
"typo3/testing-framework": "^7.0"
},
"replace": {
"typo3-ter/flat-urls": "self.version"
},
"autoload": {
"psr-4": {
"Pagemachine\\FlatUrls\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Pagemachine\\FlatUrls\\Tests\\": "Tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"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": "flat_urls",
"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"
],
"deploy:ter": [
"@build:cleanup",
"@deploy:ter:setup",
"@deploy:ter:upload"
],
"deploy:ter:setup": [
"@composer global require 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:xml"
],
"lint:php": "parallel-lint --show-deprecated --exclude vendor --exclude web .",
"lint:style": "php-cs-fixer fix --dry-run --diff",
"lint:xml": "xmllint --pattern '*.xml,*.svg' --recursive 0 --skip-xsd .",
"test": [
"@test:unit",
"@test:functional"
],
"test:functional": "phpunit --configuration phpunit-functional.xml --colors=always",
"test:unit": "phpunit --colors=always"
}
}