-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
81 lines (81 loc) · 2.4 KB
/
Copy pathcomposer.json
File metadata and controls
81 lines (81 loc) · 2.4 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
76
77
78
79
80
81
{
"name": "dbout/wp-module-rest-api",
"description": "Quickly add routes to the WordPress Rest API.",
"type": "package",
"license": "MIT",
"authors": [
{
"name": "Dimitri BOUTEILLE",
"email": "bonjour@dimitri-bouteille.fr",
"homepage": "https://github.com/dimitriBouteille",
"role": "Developer"
}
],
"keywords": ["wordpress", "wp", "wordpress-starter", "api", "rest", "rest-api", "wordpress-rest-api", "wordpress-development"],
"homepage": "https://github.com/dimitriBouteille/wp-module-rest-api",
"support": {
"issues": "https://github.com/dimitriBouteille/wp-module-rest-api/issues",
"source": "https://github.com/dimitriBouteille/wp-module-rest-api"
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{ "type": "composer", "url": "https://wpackagist.org" }
],
"require": {
"php": ">=8.1",
"psr/cache": "^1.0|^2.0|^3.0"
},
"autoload": {
"psr-4": {
"Dbout\\WpRestApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Dbout\\WpRestApi\\Tests\\": "tests/"
}
},
"require-dev": {
"phpunit/phpunit": "^9.6",
"phpstan/phpstan": "^2.1",
"friendsofphp/php-cs-fixer": "^3.69",
"phpstan/extension-installer": "^1.4",
"szepeviktor/phpstan-wordpress": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"roots/wordpress": "^6.7",
"rector/rector": "2.4.0",
"wp-phpunit/wp-phpunit": "^6.7",
"yoast/phpunit-polyfills": "^2.0",
"wpackagist-plugin/sqlite-database-integration": "^2.1",
"composer/installers": "^2.3"
},
"config": {
"allow-plugins": {
"roots/wordpress-core-installer": true,
"phpstan/extension-installer": true,
"composer/installers": true
}
},
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
},
"wordpress-install-dir": "web/wordpress",
"installer-paths": {
"web/wordpress/wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
}
},
"scripts": {
"rector": "vendor/bin/rector process src --dry-run",
"fix:rector": "vendor/bin/rector process src",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon",
"phpunit": "vendor/bin/phpunit",
"test:unit": "vendor/bin/phpunit",
"test:wordpress": "vendor/bin/phpunit -c phpunit-wp.xml",
"csFixer": "vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
"fix:csFixer": "vendor/bin/php-cs-fixer fix"
}
}