forked from wp-graphql/wp-graphql-woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
109 lines (109 loc) · 3.26 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
{
"name": "wp-graphql/wp-graphql-woocommerce",
"description": "WooCommerce bindings for WPGraphQL",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"woocommerce",
"graphql",
"wp-graphql",
"wp-graphql-extension",
"woocommerce-extension",
"api",
"woographql"
],
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Geoff Taylor",
"email": "kidunot89@gmail.com",
"role": "Lead developer"
}
],
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php": ">=7.1.0",
"firebase/php-jwt": "^5.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "^2.3"
},
"config": {
"optimize-autoloader": true,
"process-timeout": 0,
"sort-packages": true
},
"autoload": {
"files": [
"includes/connection/wc-cpt-connection-args.php",
"includes/functions.php"
],
"psr-4": {
"WPGraphQL\\WooCommerce\\": "includes/"
},
"classmap": [
"includes/"
]
},
"autoload-dev": {
"files": [
"tests/_data/config.php"
],
"psr-4": {
"Tests\\WPGraphQL\\WooCommerce\\": "tests/_support/"
}
},
"extra": {
},
"scripts": {
"installTestEnv": "bash bin/install-test-env.local.sh",
"runPreCommitCleanup": [
"bash bin/remove-wordpress.local.sh",
"bash bin/remove-testing-library.local.sh"
],
"runWPUnitTest": "vendor/bin/codecept run wpunit",
"dBuild": "env $(sed -e '/^#/d' .env.testing) docker-compose build",
"dRunApp": "env $(sed -e '/^#/d' .env.testing) docker-compose up testable_app app_db mailhog",
"dRunTestingDb":"if [ ! \"$(docker ps -a | grep testing_db)\" ]; then env $(sed -e '/^#/d' .env.testing) docker-compose up -d testing_db; fi",
"dSetMainDb": "docker-compose exec testable_app ./setup-database.sh main",
"dSetTestingDb": "docker-compose exec testable_app wait-for-it -s -t 300 testing_db:3306 -- ./setup-database.sh testing",
"dRunTest": [
"@dRunTestingDb",
"@dSetTestingDb",
"docker-compose exec testable_app wait-for-it -s -t 300 testing_db:3306 -- codecept run $FILTER"
],
"dRunTestStandalone": "env $(sed -e '/^#/d' .env.testing) docker-compose run --rm run_tests",
"dDestroy": "docker-compose down -v",
"lint": "vendor/bin/phpcs -vp ."
},
"support": {
"issues": "https://github.com/wp-graphql/wp-graphql-woocommerce/issues",
"source": "https://github.com/wp-graphql/wp-graphql-woocommerce"
},
"archive": {
"name": "wp-graphql-wooocommerce",
"exclude": [
"/.*",
"/bin",
"/docs",
"/local",
"/plugin-build",
"/tests",
"!/vendor",
"/codeception.dist.yml",
"/codeception.yml",
"/composer.json",
"/composer.lock",
"/docker-composer.yml",
"/Dockerfile",
"/netlify.toml",
"/README.md"
]
}
}