-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
57 lines (57 loc) · 1.84 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
{
"name": "xrpl/xumm-payments-for-woocommerce",
"description": "Accept XRP, EUR, USD, BTC & ETH, using a single plugin with the greatest XRP ledger client (wallet): XUMM!",
"type": "project",
"require": {
"php": "^8.1.0",
"xrpl/xumm-sdk-php": "dev-main"
},
"autoload": {
"psr-4": {
"Xrpl\\XummForWoocommerce\\": "src/",
"Xrpl\\XummForWoocommerce\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Andrei Rosseti",
"email": "[email protected]"
},
{
"name": "Koen Paas",
"email": "[email protected]"
},
{
"name": "Wietse Wind",
"email": "[email protected]"
}
],
"keywords": ["xrp","ripple","xrpl","xumm"],
"homepage": "https://xumm.readme.io/",
"license": "MIT",
"config": {
"vendor-dir": "libraries"
},
"scripts": {
"make:tests": "phpunit -c phpunit.xml",
"make:check": "phpstan",
"build": [
"composer install --no-dev --no-scripts --optimize-autoloader",
"git archive --prefix=xumm-payments-for-woocommerce/ --format=zip --output xumm-payments-for-woocommerce-$(git rev-parse HEAD).zip $(git rev-parse --abbrev-ref HEAD)",
"mkdir xumm-payments-for-woocommerce",
"cp -r libraries xumm-payments-for-woocommerce/.",
"zip -r xumm-payments-for-woocommerce-$(git rev-parse HEAD).zip xumm-payments-for-woocommerce/libraries",
"rm -rf xumm-payments-for-woocommerce"
],
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer make:tests"
]
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"10up/wp_mock": "^0.4.2",
"brain/monkey": "^2.6",
"phpstan/phpstan": "^1.10",
"php-stubs/wordpress-tests-stubs": "^6.1"
}
}