-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
98 lines (98 loc) · 3.68 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
{
"name": "xima/xima-typo3-content-planner",
"description": "This extension provides a page status functionality to support the planning of content work.",
"license": [
"GPL-2.0-or-later"
],
"type": "typo3-cms-extension",
"authors": [
{
"name": "Konrad Michalik",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "^8.1",
"typo3/cms-backend": "^12.0 || ^13.0",
"typo3/cms-beuser": "^12.0 || ^13.0",
"typo3/cms-core": "^12.0 || ^13.0",
"typo3/cms-dashboard": "^12.0 || ^13.0"
},
"require-dev": {
"armin/editorconfig-cli": "^2.0",
"ergebnis/composer-normalize": "^2.44",
"friendsofphp/php-cs-fixer": "^3.52",
"helhum/typo3-console": "^8.1",
"helmich/typo3-typoscript-lint": "^3.2",
"roave/security-advisories": "dev-latest",
"saschaegerer/phpstan-typo3": "^1.10",
"ssch/typo3-rector": "^2.10",
"symfony/translation": "^6.3 || ^7.0",
"typo3/cms-base-distribution": "^12.0 || ^13.4",
"typo3/cms-lowlevel": "^12.0 || ^13.4"
},
"autoload": {
"psr-4": {
"Xima\\XimaTypo3ContentPlanner\\": "Classes/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"helhum/dotenv-connector": true,
"php-http/discovery": 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": "xima_typo3_content_planner",
"web-dir": "public"
}
},
"scripts": {
"check": [
"@composer:normalize:check",
"@editorconfig:lint:check",
"@php:lint:check",
"@yaml:lint:check",
"@xml:lint:check",
"@typoscript:lint:check",
"@php:stan:check",
"@php:rector:check",
"@php:fixer:check"
],
"composer:normalize": "@composer normalize --no-check-lock",
"composer:normalize:check": "@composer normalize --no-check-lock --dry-run",
"editorconfig:lint": "ec --strict --fix --git-only -n",
"editorconfig:lint:check": "ec --strict --git-only -n",
"fix": [
"@composer:normalize",
"@editorconfig:lint",
"@php:fixer",
"@yaml:lint",
"@xml:lint",
"@typoscript:lint",
"@php:stan",
"@php:rector"
],
"php:fixer": "php vendor/bin/php-cs-fixer --config=php-cs-fixer.php fix",
"php:fixer:check": "php vendor/bin/php-cs-fixer --config=php-cs-fixer.php fix --dry-run --format=checkstyle > php-cs-fixer.xml || true",
"php:lint": "find *.php . -name '*.php' ! -path './vendor/*' ! -path './var/*' ! -path '*node_modules/*' -print0 | xargs -0 -n 1 -P 4 php -l",
"php:lint:check": "find *.php . -name '*.php' ! -path './vendor/*' ! -path './var/*' ! -path '*node_modules/*' -print0 | xargs -0 -n 1 -P 4 php -l",
"php:rector": "rector",
"php:rector:check": "rector --dry-run",
"php:stan": "php vendor/bin/phpstan --generate-baseline=phpstan-baseline.neon --allow-empty-baseline --memory-limit=2G",
"php:stan:check": "phpstan --no-progress --error-format=checkstyle > phpstan.xml || true",
"typoscript:lint": "typoscript-lint",
"typoscript:lint:check": "typoscript-lint --fail-on-warnings",
"xml:lint": "find . -name '*.xlf' ! -path './vendor/*' ! -path './var/*' | xargs -r xmllint --schema vendor/symfony/translation/Resources/schemas/xliff-core-1.2-transitional.xsd --noout",
"xml:lint:check": "find ./ -name '*.xlf' ! -path './vendor/*' ! -path './var/*' | xargs -r xmllint --schema vendor/symfony/translation/Resources/schemas/xliff-core-1.2-transitional.xsd --noout",
"yaml:lint": "find ./ ! -path './vendor/*' ! -path '*/node_modules/*' \\( -name '*.yaml' -o -name '*.yml' \\) | xargs -r yaml-lint",
"yaml:lint:check": "find ./ ! -path './vendor/*' ! -path '*/node_modules/*' \\( -name '*.yaml' -o -name '*.yml' \\) | xargs -r yaml-lint"
}
}