-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcomposer.json
More file actions
127 lines (127 loc) · 3.87 KB
/
Copy pathcomposer.json
File metadata and controls
127 lines (127 loc) · 3.87 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
{
"name": "digedag/cfc-league",
"description": "TYPO3 extension to manage sports competitions and clubs.",
"type": "typo3-cms-extension",
"keywords": [
"TYPO3 CMS",
"mvc",
"sports",
"football"
],
"homepage": "http://www.system25.de/",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "René Nitzsche",
"email": "rene@system25.de",
"role": "Developer"
}
],
"support": {
"email": "rene@system25.de",
"source": "https://github.com/digedag/cfc_league",
"issues": "https://github.com/digedag/cfc_league/issues"
},
"replace": {
"typo3-ter/cfc-league": "self.version"
},
"require": {
"typo3/cms-core": "^10.4 || ^11.5 || ^12.4 || ^13.4",
"digedag/rn-base": "^1.20.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~3.64.0",
"jangregor/phpstan-prophecy": "^1.0.0",
"namelesscoder/typo3-repository-client": "^1.3.1",
"typo3/testing-framework": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"mikey179/vfsstream": "^1.4 || ^1.6",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpcompatibility/php-compatibility": "^9.3.5",
"phpmd/phpmd": "^2.9",
"phpstan/phpstan": "^1.2.0",
"phpstan/extension-installer": "^1.0",
"phpunit/phpunit": "^9.6 || ^10.5 || ^11.0",
"saschaegerer/phpstan-typo3": "^1.0"
},
"autoload": {
"psr-4": {"System25\\T3sports\\" : "Classes"}
},
"autoload-dev": {
"psr-4": {
"System25\\T3sports\\Tests\\" : "Tests/Unit/PHP",
"TYPO3\\CMS\\Core\\Tests\\":".Build/vendor/typo3/cms/typo3/sysext/core/Tests/",
"TYPO3\\CMS\\Fluid\\Tests\\": ".Build/vendor/typo3/cms/typo3/sysext/fluid/Tests/"
}
},
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"preferred-install": {
"typo3/cms": "source"
},
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"post-autoload-dump": [
"mkdir -p .Build/Web/typo3conf/ext/",
"[ -L .Build/Web/typo3conf/ext/cfc_league ] || ln -snvf ../../../../. .Build/Web/typo3conf/ext/cfc_league"
],
"tests:phplint": "find *.php Classes Deprecations mod1 models services Tests util -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"lint:php": [
"[ -e .Build/bin/parallel-lint ] || composer update",
".Build/bin/parallel-lint ./Classes"
],
"lint": [
"@lint:php"
],
"test:phpcompat": ".Build/bin/phpcs --ignore=.Build/*,Resources/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion ",
"test:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update --ansi",
".Build/bin/php-cs-fixer fix -v --dry-run --diff --ansi"
],
"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_WEB=$PWD/.Build/Web && .Build/bin/phpunit --colors=always"
],
"test": [
"@test:phpcs",
"@test:phpmd",
"@test:phpstan",
"@test:phpunit"
],
"fix:phpcs": [
"[ -e .Build/bin/php-cs-fixer ] || composer update --ansi",
".Build/bin/php-cs-fixer fix -v"
],
"fix": [
"@fix:phpcs"
]
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"extension-key": "cfc_league",
"web-dir": ".Build/Web"
},
"typo3/class-alias-loader": {
"class-alias-maps": [
"Migrations/Code/ClassAliasMap.php"
]
},
"branch-alias": {
"dev-master": "1.12.x-dev"
}
}
}