-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
138 lines (138 loc) · 3.5 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
{
"name": "axepress/wp-graphql-site-editor",
"description": "Adds WPGraphQL support for the WordPress Site Editor",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "AxePress Development",
"email": "[email protected]",
"homepage": "https://axepress.dev"
},
{
"name": "David Levine",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/AxeWP/wp-graphql-site-editor/issues",
"forum": "https://github.com/AxeWP/wp-graphql-site-editor/discussions"
},
"readme": "README.md",
"funding": [
{
"type":"github",
"url": "https://github.com/sponsors/AxeWP"
}
],
"require": {
"php": ">=7.4",
"axepress/wp-graphql-plugin-boilerplate": "^0.0.9"
},
"require-dev": {
"lucatume/wp-browser": "^3.0",
"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": "^2.0",
"codeception/module-webdriver": "^1.0",
"codeception/phpunit-wrapper": "^9.0",
"codeception/util-universalframework": "^1.0",
"phpunit/phpunit": "^9.5",
"wp-graphql/wp-graphql-testcase": "~2.3",
"phpstan/phpstan": "^1.2",
"phpstan/extension-installer": "^1.1",
"szepeviktor/phpstan-wordpress": "^1.0",
"axepress/wp-graphql-stubs": "^1.12",
"axepress/wp-graphql-cs": "^1.0.0-beta",
"wp-cli/wp-cli-bundle": "^2.6",
"php-coveralls/php-coveralls": "^2.5"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"platform": {
"php": "7.4"
},
"process-timeout": 0
},
"autoload": {
"files": [
"access-functions.php"
],
"psr-4": {
"WPGraphQL\\SiteEditor\\": "src/"
},
"classmap": [
"vendor-prefixed/"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\WPGraphQL\\SiteEditor\\": "tests/_support/"
}
},
"extra": {
"strauss": {
"target_directory": "vendor-prefixed",
"namespace_prefix": "WPGraphQL\\SiteEditor\\Vendor\\",
"classmap_prefix": "WPGraphQL_SiteEditor_",
"constant_prefix": "WPGRAPHQL_FSE_",
"include_modified_date": false,
"delete_vendor_files": true,
"packages": [
"axepress/wp-graphql-plugin-boilerplate"
],
"excluded_from_prefix": {
"file_patterns": ["/psr.*/"]
}
}
},
"scripts": {
"init-plugin": "bash vendor/bin/init-wpgraphql-plugin.sh",
"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",
"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"
],
"strauss": [
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.13.0/strauss.phar",
"@php bin/strauss.phar",
"composer dump-autoload --optimize"
],
"post-install-cmd": [
"@strauss"
],
"post-update-cmd": [
"@strauss"
]
}
}