-
Notifications
You must be signed in to change notification settings - Fork 9
/
composer.json
170 lines (159 loc) · 4.97 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "italystrap/theme-json-generator",
"description": "WordPress theme.json generator from a PHP array",
"keywords": ["WordPress", "WordPress theme.json", "theme.json"],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Enea Overclokk",
"email": "[email protected]",
"homepage": "https://www.italystrap.com",
"role": "Developer"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php" : ">=7.4",
"ext-json": "*",
"italystrap/config": "^2.4",
"italystrap/empress": "^2.0",
"italystrap/finder": "dev-master",
"mexitek/phpcolors": "^1.0",
"spatie/color": "~1.5.0",
"phenx/php-font-lib": "^0.5.4",
"justinrainbow/json-schema": "^5.2",
"scssphp/scssphp": "^1.12.1",
"sabberworm/php-css-parser": "^8.5",
"brick/varexporter": "^0.3.8",
"webimpress/safe-writer": "^2.2",
"symfony/console": "^v5.4",
"symfony/process": "^v5.4",
"symfony/polyfill-php80": "^1.22",
"symfony/event-dispatcher": "^5.4",
"webmozart/assert": "^1.11"
},
"require-dev": {
"lucatume/wp-browser": "<3.5",
"phpspec/prophecy-phpunit": "^2.0",
"codeception/module-asserts": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-filesystem": "^1.0",
"codeception/module-cli": "^1.0",
"codeception/util-universalframework": "^1.0",
"squizlabs/php_codesniffer": "*",
"phpcompatibility/php-compatibility": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"vimeo/psalm": "^5.6",
"phpbench/phpbench": "^1.2",
"phpmetrics/phpmetrics": "^2.8",
"infection/infection": "^0.26.6",
"infection/codeception-adapter": "^0.4.1",
"rector/rector": "^0.19.0",
"symplify/easy-coding-standard": "^12.0",
"italystrap/debug": "dev-master"
},
"autoload": {
"psr-4": {
"ItalyStrap\\Bus\\": "bus/",
"ItalyStrap\\ThemeJsonGenerator\\": "src/"
},
"files": [
"functions/autoload.php",
"namespace-bc-aliases.php"
]
},
"autoload-dev": {
"psr-4": {
"ItalyStrap\\Tests\\": "tests/src/",
"ItalyStrap\\Tests\\Unit\\": "tests/unit/",
"ItalyStrap\\Tests\\Integration\\": "tests/integration/",
"ItalyStrap\\Tests\\Functional\\": "tests/functional/"
}
},
"suggest": {
},
"bin": [
"bin/theme-json"
],
"scripts": {
"cs": [
"@php ./vendor/bin/phpcs -p"
],
"cs:fix": [
"@php ./vendor/bin/phpcbf -p"
],
"psalm": [
"@php ./vendor/bin/psalm --no-cache"
],
"unit": [
"@php ./vendor/bin/codecept run unit"
],
"integration": [
"@php ./vendor/bin/codecept run integration"
],
"infection": [
"echo \"Running Infection...\"",
"echo \"Also remember to escape suite correctly, example --skip=integration or --skip=wpunit\"",
"@php ./vendor/bin/infection --threads=max"
],
"bench": [
"@php ./vendor/bin/phpbench run"
],
"metrics": [
"@php ./vendor/bin/phpmetrics --report-html='./tests/_output/report' ./src"
],
"insights": [
"@php ./vendor/bin/phpinsights"
],
"clean": [
"@php ./vendor/bin/codecept clean"
],
"qa": [
"@cs",
"@psalm",
"@rector",
"@unit"
],
"rector": [
"@php ./vendor/bin/rector process --dry-run"
],
"rector:fix": [
"@php ./vendor/bin/rector process"
],
"ecs": [
"@php ./vendor/bin/ecs"
],
"ecs:fix": [
"@php ./vendor/bin/ecs --fix"
]
},
"scripts-descriptions": {
"cs": "Run Code Sniffer",
"cs:fix": "Run Code Sniffer and fix errors",
"psalm": "Run Psalm",
"unit": "Run Unit tests",
"integration": "Run Integration tests",
"infection": "Run Infection",
"bench": "Run Benchmark",
"metrics": "Run Metrics",
"insights": "Run Insights",
"clean": "Clean Codeception cache",
"qa": "Run all QA tools",
"rector": "Run Rector",
"rector:fix": "Run Rector and fix errors"
},
"support" : {
"issues": "https://github.com/ItalyStrap/theme-json-generator/issues",
"source": "https://github.com/ItalyStrap/theme-json-generator"
},
"config": {
"allow-plugins": {
"infection/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"codeception/c3": true
}
}
}