-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
73 lines (73 loc) · 2.24 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
{
"name": "axepress/wp-graphql-plugin-boilerplate",
"description": "Boilerplate for creating WPGraphQL extensions",
"type": "library",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "AxePress Development",
"homepage": "https://axepress.dev"
},
{
"name": "David Levine",
"role": "Developer"
}
],
"require": {
"php": ">=7.4"
},
"require-dev": {
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.2",
"axepress/wp-graphql-stubs": "^1.12.2",
"axepress/wp-graphql-cs": "^2.0.0-beta",
"phpcompatibility/php-compatibility": "dev-develop as 9.9.9",
"szepeviktor/phpstan-wordpress": "^1.0",
"wp-cli/wp-cli-bundle": "^2.8.1"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "7.4"
},
"process-timeout": 0,
"optimize-autoloader": true
},
"autoload": {
"psr-4": {
"AxeWP\\GraphQL\\": "src/"
}
},
"scripts": {
"create-plugin": "bash bin/create-wpgraphql-plugin.sh",
"init-plugin": "bash bin/init-wpgraphql-plugin.sh",
"install-test-env": "cd wp-graphql-plugin-name && composer install-test-env",
"install-stan-env": "cd wp-graphql-plugin-name && composer --working-dir=wp-graphql-plugin-name/ install-stan-env",
"codecept-run": "cd wp-graphql-plugin-name && vendor/bin/codecept run -c wp-graphql-plugin-name --",
"codecept-build": "cd wp-graphql-plugin-name && /vendor/bin/codecept build -c wp-graphql-plugin-name --",
"lint": "vendor/bin/phpcs",
"phpcs-i": "php ./vendor/bin/phpcs -i",
"check-cs": "php ./vendor/bin/phpcs --standard=.phpcs.xml.dist",
"fix-cs": "php ./vendor/bin/phpcbf --standard=.phpcs.xml.dist",
"phpstan": "phpstan analyze --ansi --memory-limit=1G",
"install-project-deps": "@composer --working-dir=wp-graphql-plugin-name/ install --no-dev --optimize-autoloader",
"update-project-deps": "@composer --working-dir=wp-graphql-plugin-name/ update",
"outdated-project-deps": "@composer --working-dir=wp-graphql-plugin-name/ outdated -D"
},
"archive": {
"name": "wp-graphql-plugin-boilerplate",
"exclude": [
"/.*",
"/assets",
"/bin",
"/wp-graphql-plugin-name",
"/composer.json",
"/composer.lock",
"/phpstan.neon.dist",
"/README.md"
]
}
}