-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
116 lines (116 loc) · 2.76 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": "t3g/file-variants",
"description": "Prototype for translatable files in TYPO3",
"license": "GPL-2.0+",
"type": "typo3-cms-extension",
"authors": [
{
"name": "TYPO3 GmbH",
"homepage": "https://typo3.com/",
"role": "Developer"
}
],
"require": {
"php": "^8.1",
"psr/http-message": "^1.0.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-install": "^11.5 || ^12.4"
},
"require-dev": {
"armin/editorconfig-cli": "^1.8",
"ergebnis/composer-normalize": "^2.42",
"friendsofphp/php-cs-fixer": "^3.0",
"jangregor/phpstan-prophecy": "^1.0",
"phpspec/prophecy": "^1.19",
"phpspec/prophecy-phpunit": "^2.2",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"rector/rector": "^1.0",
"saschaegerer/phpstan-typo3": "^1.10",
"ssch/typo3-rector": "^2.2",
"typo3/coding-standards": "^0.7.1",
"typo3/testing-framework": "^7.0"
},
"replace": {
"t3g/file_variants": "self.version"
},
"autoload": {
"psr-4": {
"T3G\\AgencyPack\\FileVariants\\": "Classes/",
"T3G\\AgencyPack\\FileVariants\\Tests\\": "Tests/"
}
},
"autoload-dev": {
"psr-4": {
"T3G\\AgencyPack\\FileVariants\\Tests\\": "Tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true
},
"discard-changes": true,
"sort-packages": true
},
"extra": {
"typo3/cms": {
"extension-key": "file_variants",
"web-dir": "Build/Web"
}
},
"scripts": {
"build": [
"@composer require --no-progress --ansi --update-with-dependencies typo3/cms-core $TYPO3_VERSION",
"@lint",
"@test"
],
"composer:lint": [
"@composer validate --ansi",
"@composer normalize --no-update-lock --dry-run"
],
"editorconfig:fix": [
"ec --fix --no-progress --no-interaction"
],
"editorconfig:lint": [
"ec --no-progress --no-interaction"
],
"lint": [
"@composer:lint",
"@php:static:lint",
"@php:rector:lint",
"@php:style:lint",
"@editorconfig:lint"
],
"php:functional:tests": [
"phpunit -c Build/FunctionalTests.xml"
],
"php:rector:fix": [
"rector --config=Build/rector.php"
],
"php:rector:lint": [
"rector --config=Build/rector.php --dry-run --no-progress-bar"
],
"php:static:lint": [
"phpstan --configuration=Build/phpstan.neon analyse"
],
"php:style:fix": [
"php-cs-fixer fix --config Build/.php-cs-fixer.dist.php"
],
"php:style:lint": [
"php-cs-fixer check --config Build/.php-cs-fixer.dist.php --diff"
],
"php:unit:test": [
"phpunit -c Build/UnitTests.xml"
],
"test": [
"@php:unit:test",
"@php:functional:tests"
]
}
}