-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
75 lines (75 loc) · 2.1 KB
/
Copy pathcomposer.json
File metadata and controls
75 lines (75 loc) · 2.1 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
{
"name": "spaghetti-dojo/wp-tosuto",
"description": "A WordPress plugin exposing an API to render toast components via the Interactivity API.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "guido scialfa",
"email": "dev@guidoscialfa.com"
}
],
"require": {
"php": ">=8.4",
"inpsyde/modularity": "^1.7"
},
"require-dev": {
"bnf/phpstan-psr-container": "^1.0",
"brain/monkey": "^2.6",
"inpsyde/wp-stubs": "dev-main",
"mockery/mockery": "^1.6",
"pestphp/pest": "^v4.3.0",
"phpstan/phpstan": "^2.1",
"roots/wordpress-no-content": "6.9",
"syde/phpcs": "^1.0",
"automattic/wordbless": "^0.6.0"
},
"autoload": {
"psr-4": {
"SpaghettiDojo\\Tosuto\\": "sources/server/"
},
"files": [
"sources/server/Api/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"SpaghettiDojo\\Tosuto\\Tests\\": "tests/",
"SpaghettiDojo\\Tosuto\\Tests\\Unit\\": "tests/unit/server/",
"SpaghettiDojo\\Tosuto\\Tests\\Integration\\": "tests/integration/server/"
}
},
"scripts": {
"cs": "phpcs",
"cs:fix": "phpcbf",
"analysis": "./vendor/bin/phpstan analyse --memory-limit=512M",
"test:unit": "@php ./vendor/bin/pest --testsuite=unit",
"test:integration": "@php ./vendor/bin/pest --testsuite=integration",
"test:unit:coverage": "@php ./vendor/bin/pest --testsuite=unit --coverage --coverage-clover=coverage-unit.xml",
"test:integration:coverage": "@php ./vendor/bin/pest --testsuite=integration --coverage --coverage-clover=coverage-integration.xml",
"tests": [
"@test:unit",
"@test:integration"
],
"qa": [
"@cs",
"@analysis",
"@tests"
],
"post-install-cmd": "SpaghettiDojo\\Tosuto\\Tests\\InstallWpDropIn::copy",
"post-update-cmd": "SpaghettiDojo\\Tosuto\\Tests\\InstallWpDropIn::copy"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"pestphp/pest-plugin": true,
"roots/wordpress-core-installer": false
},
"sort-packages": true,
"optimize-autoloader": true,
"classmap-authoritative": false,
"apcu-autoloader": false
}
}