-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
136 lines (136 loc) · 4.12 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "jpmschuler/staticpathrouteresolver",
"description": "Site config static routes which support EXT: path prefix to e.g. allow per-site favicon with cms-composer-installers >=4",
"license": [
"GPL-2.0+"
],
"type": "typo3-cms-extension",
"authors": [
{
"name": "J. Peter M. Schuler",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"typo3/cms-backend": "^v11.5.10 || ^v12.4.0",
"typo3/cms-core": "^v11.5.10 || ^v12.4.0",
"typo3/cms-frontend": "^v11.5.10 || ^v12.4.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.19.0",
"friendsofphp/php-cs-fixer": "^3.4.0",
"helmich/typo3-typoscript-lint": "^3.1.0",
"jangregor/phpstan-prophecy": "^1.0.0",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^1.6.2",
"roave/security-advisories": "dev-latest",
"saschaegerer/phpstan-typo3": "^1.1.2",
"seld/jsonlint": "^1.9.0",
"squizlabs/php_codesniffer": "^3.6.2",
"ssch/typo3-rector": "^1",
"typo3/tailor": "^1.5"
},
"autoload": {
"psr-4": {
"Jpmschuler\\StaticPathRouteResolver\\": "Classes/"
}
},
"config": {
"allow-plugins": {
"typo3/class-alias-loader": true,
"typo3/cms-composer-installers": true,
"bk2k/configuration-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"bin-dir": ".Build/bin",
"sort-packages": true,
"vendor-dir": ".Build/vendor"
},
"extra": {
"typo3/cms": {
"app-dir": ".Build",
"extension-key": "staticpathrouteresolver",
"updateLanguages": false,
"web-dir": ".Build/public"
}
},
"scripts": {
"codequality": [
"@lint:php-cs-fixer",
"@lint:all",
"@rector:dry-run"
],
"codequality:autofix": [
"@lint:php-cs-fixer",
"@lint:phpcbf",
"@rector"
],
"develop": [
"Composer\\Config::disableProcessTimeout",
".Build/bin/php-watcher foo --exec 'composer run develop:deploy' --signal SIGTERM --ignore .Build --ext=php,yaml,html,txt,typoscript,css,js,xlf"
],
"develop:deploy": "[ -f ./.deploy.sh ] && ./.deploy.sh",
"git:precommit": [
"echo 'running precommit checks...'",
"@lint:php:onlyerrors",
"@lint:php-cs-fixer:dry-run:onlyerrors",
"@lint:phpcs:dry-run:onlyerrors",
"@lint:phpcpd:onlyerrors"
],
"lint:all": [
"@lint:php",
"@lint:php-cs-fixer:dry-run",
"@lint:phpcs:dry-run",
"@lint:phpstan"
],
"lint:php": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
"lint:php-cs-fixer": "php-cs-fixer fix",
"lint:php-cs-fixer:dry-run": "php-cs-fixer fix --dry-run --using-cache=no --diff",
"lint:php-cs-fixer:dry-run:onlyerrors": "php-cs-fixer fix --dry-run --using-cache=no --diff > /dev/null",
"lint:php:onlyerrors": "find *.php Classes -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l > /dev/null",
"lint:phpcbf": "phpcbf Classes",
"lint:phpcs": "@lint:phpcbf",
"lint:phpcs:dry-run": "phpcs Classes",
"lint:phpcs:dry-run:onlyerrors": "phpcs -n Classes",
"lint:phpstan": "phpstan --level=7 --memory-limit=1G analyse",
"lint:phpstan:baseline": "phpstan --level=7 --memory-limit=1G analyse --generate-baseline",
"lint:phpstan:ci": "phpstan --level=7 --memory-limit=1G --no-progress analyse",
"lint:typoscript": "typoscript-lint",
"post-update": "@post-install",
"prepare-release": [
"rm .gitignore",
"rm -rf .Build",
"rm -rf .ddev",
"rm -rf .github",
"rm -rf .gitlab",
"rm -rf Tests",
"rm -rf tools",
"rm .editorconfig",
"rm .gitattributes",
"rm .php-cs-fixer.php",
"rm .phpcs.xml",
"rm phpstan.neon",
"rm phpstan-baseline.neon",
"rm .phpcs.xml",
"rm GitVersion.yml",
"rm rector.php"
],
"rector": [
"rector process --config=rector.php . ",
"@lint:php-cs-fixer"
],
"rector:dry-run": "rector process --config=rector.php --dry-run -- .",
"rector:dry-run:ci": "rector process --config=rector.php --dry-run --output-format json -- . > report.rector.json",
"rector:force": "rector process .",
"test": [
"@lint:php-cs-fixer"
],
"version:set": [
"@putenv TYPO3_DISABLE_DOCS_VERSION_UPDATE=1",
"@version:set:ext_emconf.php"
],
"version:set:ext_emconf.php": "tailor set-version"
}
}