-
Notifications
You must be signed in to change notification settings - Fork 13
/
composer.json
107 lines (107 loc) · 2.99 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
{
"name": "wp-graphql/wpgraphql-acf",
"description": "Use field groups and fields from Advanced Custom Fields in your WPGraphQL API",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Jason Bahl",
"email": "jasonbahl@mac.com"
}
],
"require": {
"php": "^7.1 || ^8.0",
"appsero/client": "1.2.1"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"lucatume/wp-browser": "3.1.0",
"codeception/module-asserts": "^1.3",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-webdriver": "^1.4",
"codeception/module-db": "^1.2",
"codeception/module-filesystem": "^1.0",
"codeception/module-cli": "^1.1",
"codeception/util-universalframework": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "~1.3.0",
"codeception/module-rest": "^1.4",
"wp-graphql/wp-graphql-testcase": "~2.3",
"phpunit/phpunit": "^9.5",
"slevomat/coding-standard": "^8.9",
"simpod/php-coveralls-mirror": "^3.0",
"phpstan/extension-installer": "^1.3",
"php-stubs/acf-pro-stubs": "6.*",
"wp-cli/wp-cli-bundle": "^2.8",
"axepress/wp-graphql-stubs": "^1.16"
},
"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\\Acf\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\WPGraphQL\\Acf\\": "tests/_support/"
}
},
"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",
"build-plugin": [
"composer install --no-dev",
"composer run-script zip",
"composer install"
],
"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"
],
"post-install-cmd": [
"rm ./vendor/appsero/client/src/Updater.php",
"cp ./build/Updater.php ./vendor/appsero/client/src/"
],
"zip": [
"mkdir -p plugin-build/wpgraphql-acf",
"rsync -rc --exclude-from=.distignore --exclude=plugin-build . plugin-build/wpgraphql-acf/ --delete --delete-excluded -v",
"cd plugin-build ; zip -r wpgraphql-acf.zip wpgraphql-acf",
"rm -rf plugin-build/wpgraphql-acf/"
]
}
}