-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
71 lines (71 loc) · 2.81 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
{
"name": "wp-graphql/wp-graphql-testcase",
"description": "Codeception module for WPGraphQL API testing",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Geoff Taylor",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Tests\\WPGraphQL\\": "src/"
},
"classmap": [
"src/"
]
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php-extended/polyfill-php80-str-utils": "^1.3"
},
"require-dev": {
"composer/installers": "^1.9",
"johnpbloch/wordpress": "^6.1",
"squizlabs/php_codesniffer": "^3.5",
"automattic/vipwpcs": "^2.3",
"wp-coding-standards/wpcs": "^2.3",
"php-coveralls/php-coveralls": "2.4.3",
"wpackagist-plugin/wp-graphql": "^1.26"
},
"scripts": {
"run_phpunit_env": "docker compose run --rm --workdir=/var/www/html/wp-content/plugins/wp-graphql-testcase --user $(id -u) wp_phpunit_testing wait-for-it $TEST_DB -s -t 300 --",
"run_codecept_env": "docker compose run --rm --user $(id -u) codeception_testing wait-for-it $TEST_DB -s -t 300 --",
"codeception": "codecept run --",
"phpunit": "phpunit --",
"run-codeception": "env TEST_DB=codecept_db:3306 composer run_codecept_env vendor/bin/codecept run",
"run-phpunit": "env TEST_DB=phpunit_db:3306 composer run_phpunit_env vendor/bin/phpunit"
},
"extra": {
"wordpress-install-dir": "local/public",
"installer-paths": {
"local/public/wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
}
},
"suggest": {
"codeception/module-asserts": "Needed for \\Tests\\WPGraphQL\\TestCase\\WPGraphQLTestcase to work.",
"codeception/util-universalframework": "Needed for \\Tests\\WPGraphQL\\TestCase\\WPGraphQLTestcase to work.",
"lucatume/wp-browser": "Needed for \\Tests\\WPGraphQL\\TestCase\\WPGraphQLTestcase to work.",
"phpunit/phpunit": "Needed for \\Tests\\WPGraphQL\\TestCase\\WPGraphQLUnitTestcase to work.",
"wp-phpunit/wp-phpunit": "Needed for \\Tests\\WPGraphQL\\TestCase\\WPGraphQLUnitTestcase to work.",
"yoast/phpunit-polyfills": "Needed for \\Tests\\WPGraphQL\\TestCase\\WPGraphQLUnitTestcase to work.",
"guzzlehttp/guzzle": "Needed for \\Tests\\WPGraphQL\\Codeception\\Module\\WPGraphQL to work."
},
"config": {
"optimize-autoloader": true,
"process-timeout": 0,
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}