-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
105 lines (105 loc) · 2.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
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
{
"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.11.10",
"ivome/graphql-relay-php": "0.7.0",
"appsero/client": "1.2.1"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"codeception/module-asserts": "^1.0",
"codeception/module-cli": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-filesystem": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-rest": "^1.2",
"codeception/module-webdriver": "^1.0",
"codeception/util-universalframework": "^1.0",
"lucatume/wp-browser": "<3.5",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpcompatibility/php-compatibility": "dev-develop as 9.9.9",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "~1.11.4",
"phpunit/phpunit": "^9.5",
"php-coveralls/php-coveralls": "^2.5",
"slevomat/coding-standard": "^8.9",
"szepeviktor/phpstan-wordpress": "~1.3.0",
"wp-graphql/wp-graphql-testcase": "^3.0",
"wp-cli/wp-cli-bundle": "^2.8"
},
"config": {
"platform": {
"php": "7.3"
},
"optimize-autoloader": true,
"process-timeout": 0,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"autoload": {
"files": [],
"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=2G -v"
],
"build-plugin": [
"composer install --no-dev && composer run-script zip && composer install"
],
"zip": [
"mkdir -p plugin-build/wp-graphql",
"rsync -rc --exclude-from=.distignore --exclude=plugin-build . plugin-build/wp-graphql/ --delete --delete-excluded -v",
"cd plugin-build ; zip -r wp-graphql.zip wp-graphql",
"rm -rf plugin-build/wp-graphql/"
]
}
}