-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
150 lines (150 loc) · 4 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "hsimah-services/wp-graphql-facetwp",
"description": "WPGraphQL integration for FacetWP",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "AxePress Development",
"email": "[email protected]",
"homepage": "https://axepress.dev"
},
{
"name": "David Levine",
"role": "Lead Developer"
},
{
"name": "Hamish Blake",
"role": "Original Developer",
"email": "[email protected]"
}
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/hsimah-services/wp-graphql-facetwp/issues",
"forum": "https://github.com/hsimah-services/wp-graphql-facetwp/discussions",
"source": "https://github.com/hsimah-services/wp-graphql-facetwp"
},
"readme": "README.md",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/AxeWP"
}
],
"config": {
"platform": {
"php": "7.4"
},
"process-timeout": 0,
"optimize-autoloader": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"extra": {
"strauss": {
"target_directory": "vendor-prefixed",
"namespace_prefix": "WPGraphQL\\FacetWP\\Vendor\\",
"classmap_prefix": "GraphQL_FacetWP_Vendor",
"constant_prefix": "GRAPHQL_FACETWP_VENDOR_",
"packages": [
"axepress/wp-graphql-plugin-boilerplate"
],
"delete_vendor_packages": true,
"include_modified_date": false
}
},
"autoload": {
"files": [
"access-functions.php"
],
"psr-4": {
"WPGraphQL\\FacetWP\\": "src/"
},
"classmap": [
"vendor-prefixed/"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\WPGraphQL\\FacetWP\\": "tests/_support/"
}
},
"require": {
"php": ">=7.4",
"axepress/wp-graphql-plugin-boilerplate": "^0.1.0"
},
"require-dev": {
"codeception/lib-innerbrowser": "^1.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.0",
"codeception/module-webdriver": "^1.0",
"codeception/phpunit-wrapper": "^9.0",
"codeception/util-universalframework": "^1.0",
"lucatume/wp-browser": "<3.5",
"phpstan/phpstan": "^1.8",
"phpstan/extension-installer": "^1.1",
"szepeviktor/phpstan-wordpress": "^1.1",
"wp-graphql/wp-graphql-testcase": "~3.3.0",
"axepress/wp-graphql-stubs": "^1.13",
"axepress/wp-graphql-cs": "^2.0.0-beta",
"wp-cli/wp-cli-bundle": "^2.8.1",
"php-coveralls/php-coveralls": "^2.5",
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99"
},
"scripts": {
"install-test-env": "bash bin/install-test-env.sh",
"install-stan-env": "bash bin/install-stan-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",
"strauss-install": [
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.19.1/strauss.phar"
],
"strauss": [
"@strauss-install",
"@php bin/strauss.phar",
"composer dump-autoload --optimize"
],
"post-install-cmd": [
"@strauss"
],
"post-update-cmd": [
"@strauss"
],
"lint": "vendor/bin/phpcs",
"phpcs-i": [
"php ./vendor/bin/phpcs -i"
],
"check-cs": [
"php ./vendor/bin/phpcs"
],
"fix-cs": [
"php ./vendor/bin/phpcbf"
],
"phpstan": [
"vendor/bin/phpstan analyze --ansi --memory-limit=1G"
]
},
"zip": [
"composer install --no-dev --optimize-autoloader",
"mkdir -p plugin-build/wp-graphql-facetwp",
"rsync -rc --exclude-from=.distignore --exclude=plugin-build . plugin-build/wp-graphql-facetwp/ --delete --delete-excluded -v",
"cd plugin-build ; zip -r wp-graphql-facetwp.zip wp-graphql-facetwp",
"rm -rf plugin-build/wp-graphql-facetwp/"
]
}