-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 1.57 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 1.57 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
{
"name": "spacedmonkey/wp-rest-blocks",
"description": "Add gutenberg blocks data into post / page / widget REST API endpoints.",
"license": "GPL-3.0-or-later",
"type": "wordpress-plugin",
"authors": [
{
"name": "Jonny Harris",
"homepage": "https://www.spacedmonkey.com/"
}
],
"homepage": "http://wp-api.org/",
"support": {
"issues": "https://github.com/spacedmonkey/wp-rest-blocks/issues"
},
"require": {
"php": "^7.4 || ^8.0",
"composer/installers": "^2.3",
"imangazaliev/didom": "^2.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.48",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpmd/phpmd": "^2.15",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"slevomat/coding-standard": "^8.22",
"swissspidy/phpstan-no-private": "^1.0",
"szepeviktor/phpstan-wordpress": "^2.0",
"wp-coding-standards/wpcs": "^3.0",
"yoast/wp-test-utils": "^1.2.0"
},
"autoload": {
"psr-4": {
"WP_REST_Blocks\\": "src/"
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"discard-changes": true,
"sort-packages": true
},
"scripts": {
"lint": "phpcs .",
"lint:fix": "phpcbf .",
"phpmd": "phpmd wp-rest-blocks.php,src text phpmd.xml.dist --color",
"phpstan": "phpstan analyse --memory-limit=2048M",
"test": "phpunit"
}
}