-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
executable file
·105 lines (105 loc) · 2.77 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
{
"name": "richardmuvirimi/woo-custom-gateway",
"description": "Add multiple custom payment gateways to WooCommerce e-commerce plugin.",
"type": "wordpress-plugin",
"license": "GNU-V2",
"autoload": {
"psr-4": {
"RichardMuvirimi\\WooCustomGateway\\": "src/",
"RichardMuvirimi\\WooCustomGateway\\Vendor\\": "vendor/woo-custom-gateway/psr-4"
},
"classmap": [
"vendor/woo-custom-gateway/classes/"
]
},
"autoload-dev": {
"psr-4": {
"RichardMuvirimi\\WooCustomGateway\\Tests\\": "tests/src/",
"RichardMuvirimi\\WooCustomGateway\\": "src/"
}
},
"config": {
"platform": {
"php": "7.3"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"process-timeout": 0
},
"scripts": {
"qc": [
"@phpcs",
"@test"
],
"phpcs": [
"./vendor/bin/phpcs ."
],
"php-cs-setup": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"@phpcs -i"
],
"phpunit": [
"@php ./vendor/bin/phpunit"
],
"test": [
"@phpunit"
],
"mk-dependencies-dir": [
"@php -r \"if (!file_exists('./vendor/woo-custom-gateway/classes')) { mkdir('./vendor/woo-custom-gateway/classes', 0777, true); }\""
],
"pre-install-cmd": [
"@mk-dependencies-dir"
],
"pre-update-cmd": [
"@mk-dependencies-dir"
],
"post-install-cmd": [
"@deploy"
],
"post-update-cmd": [
"@deploy"
],
"deploy": [
"@php -r \"copy('https://github.com/coenjacobs/mozart/releases/download/0.7.1/mozart.phar', './mozart.phar');\"",
"@php ./mozart.phar compose",
"@composer dump-autoload",
"@php -r \"@unlink('./mozart.phar');\""
]
},
"authors": [
{
"name": "Richard Muvirimi",
"email": "[email protected]",
"homepage": "https://richard.co.zw",
"role": "Developer"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.3",
"symfony/polyfill-php74": "^1.27",
"symfony/polyfill-php80": "^1.27",
"symfony/polyfill-php81": "^1.27",
"symfony/polyfill-php82": "^1.27",
"br33f/php-ga4-mp": "^0.1.3",
"yidas/client-ip": "^1.0",
"ext-json": "*"
},
"require-dev": {
"phpcompatibility/phpcompatibility-wp": "^2.1",
"brain/monkey": "^2.6",
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.7",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
},
"extra": {
"mozart": {
"dep_namespace": "RichardMuvirimi\\WooCustomGateway\\Vendor\\",
"dep_directory": "/vendor/woo-custom-gateway/psr-4/",
"classmap_directory": "/vendor/woo-custom-gateway/classes/",
"classmap_prefix": "WooCustomGateway_",
"delete_vendor_directories": true
}
}
}