-
Notifications
You must be signed in to change notification settings - Fork 14
/
composer.json
62 lines (62 loc) · 1.62 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
{
"name": "wpengine/wp-graphql-content-blocks",
"description": "Plugin that extends WPGraphQL to support querying (Gutenberg) Blocks as data.",
"type": "wordpress-plugin",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": ">=7.4",
"imangazaliev/didom": "^2.0",
"blakewilson/wp-enforce-semver": "^2.0"
},
"require-dev": {
"brain/monkey": "^2.6",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpunit/phpunit": "^9.5",
"yoast/phpunit-polyfills": "^1.0",
"phpstan/phpstan": "^1.10",
"phpstan/extension-installer": "^1.3",
"szepeviktor/phpstan-wordpress": "^1.3",
"axepress/wp-graphql-stubs": "^1.14",
"axepress/wp-graphql-cs": "^2.0.0-beta",
"roave/security-advisories": "dev-latest"
},
"scripts": {
"install-test-env": "bash bin/install-test-env.sh",
"lint": "parallel-lint -e php --no-colors --exclude vendor .",
"phpcs": "phpcs",
"phpcs:fix": "phpcbf",
"phpstan": "phpstan analyze --ansi --memory-limit=1G -v",
"suite": [
"@lint",
"@phpcs",
"@test"
],
"test": "phpunit"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "7.4"
},
"preferred-install": "dist",
"process-timeout": 0,
"optimize-autoloader": true
},
"autoload": {
"psr-4": {
"WPGraphQL\\ContentBlocks\\": "includes/"
},
"classmap": [
"includes/"
]
},
"autoload-dev": {
"psr-4": {
"WPGraphQL\\ContentBlocks\\Unit\\": "tests/unit/"
}
}
}