forked from wp-graphql/wp-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
110 lines (110 loc) · 2.36 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "wp-graphql/wp-graphql",
"description": "GraphQL API for WordPress",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Jason Bahl",
"email": "[email protected]"
},
{
"name": "Edwin Cromley"
},
{
"name": "Ryan Kanner"
},
{
"name": "Hughie Devore"
},
{
"name": "Chris Zarate"
}
],
"require": {
"php": "^7.1 || ^8.0",
"webonyx/graphql-php": "14.9.0",
"ivome/graphql-relay-php": "0.6.0",
"appsero/client": "^1.2"
},
"require-dev": {
"automattic/vipwpcs": "^2.2",
"lucatume/wp-browser": "3.1.0",
"codeception/module-asserts": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-webdriver": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-filesystem": "^1.0",
"codeception/module-cli": "^1.0",
"codeception/util-universalframework": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpstan/phpstan": "^1.7",
"szepeviktor/phpstan-wordpress": "1.1.1",
"codeception/module-rest": "^1.2",
"wp-graphql/wp-graphql-testcase": "~2.3",
"phpunit/phpunit": "^9.5",
"simpod/php-coveralls-mirror": "^3.0",
"phpstan/extension-installer": "^1.1"
},
"config": {
"platform": {
"php": "7.3"
},
"optimize-autoloader": true,
"process-timeout": 0,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"autoload": {
"files": [
"access-functions.php",
"activation.php",
"deactivation.php"
],
"psr-4": {
"WPGraphQL\\": "src/"
}
},
"scripts": {
"install-test-env": "bash bin/install-test-env.sh",
"docker-build": "bash bin/run-docker.sh build",
"docker-run": "bash bin/run-docker.sh run",
"docker-destroy": "docker-compose down",
"build-and-run": [
"@docker-build",
"@docker-run"
],
"build-app": "@docker-build -a",
"build-test": "@docker-build -t",
"run-app": "@docker-run -a",
"run-test": "@docker-run -t",
"lint": "vendor/bin/phpcs",
"phpcs-i": [
"php ./vendor/bin/phpcs -i"
],
"check-cs": [
"php ./vendor/bin/phpcs"
],
"fix-cs": [
"php ./vendor/bin/phpcbf"
],
"phpstan": [
"phpstan analyze --ansi --memory-limit=1G"
]
},
"archive": {
"exclude": [
"*.yml",
"!vendor/",
"plugin-build/",
"node_modules/",
"!.wordpress-org/",
"docs/",
"wp-graphql.zip",
"!build",
"packages"
]
}
}