-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
58 lines (58 loc) · 2.87 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
{
"name": "flutterwavedev/woocommerce",
"description": "The Official Flutterwave Woocommerce Plugin",
"type": "wordpress-plugin",
"license": "MIT",
"autoload": {
"psr-4": {
"Flutterwave\\Woocommerce\\": "includes/"
}
},
"authors": [
{
"name": "Flutterwave Developers"
}
],
"require": {
"php": ">=7.4",
"ext-json": "*"
},
"require-dev": {
"wp-coding-standards/wpcs": "^2.3",
"phpcompatibility/phpcompatibility-wp": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"woocommerce/woocommerce-sniffs": "^0.1.3",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"test": "./vendor/bin/pest --coverage=coverage --coverage-text",
"standards:check": "./vendor/bin/phpcs --standard=WordPress --extensions=php --ignore=*/vendor/*,*/tests/*,*/data/*,*/assets/*,*/.docker/*,*/build/*.asset.php,*/node_modules/* .",
"standards:fix": "./vendor/bin/phpcbf --standard=WordPress --extensions=php --ignore=*/vendor/*,*/tests/*,*/data/*,*/assets/*,*/.docker/*,*/build/*.asset.php,*/node_modules/* .",
"phpcompatibility:check": "./vendor/bin/phpcs --standard=PHPCompatibilityWP --extensions=php --ignore=*/vendor/*,*/tests/*,*/data/*,*/assets/*,*/.docker/*,*/build/*.asset.php,*/node_modules/* .",
"phpcompatibility:fix": "./vendor/bin/phpcbf --standard=PHPCompatibilityWP --extensions=php --ignore=*/vendor/*,*/tests/*,*/data/*,*/assets/*,*/.docker/*,*/build/*.asset.php,*/node_modules/* .",
"phpcompatibility:check:php-7-2": "./vendor/bin/phpcs --runtime-set testVersion 7.2- --standard=PHPCompatibilityWP --extensions=php --ignore=vendor/*,*/build/*.asset.php,*/node_modules/* .",
"woocommerce:check": [
"./vendor/bin/phpcs --standard=Woocommerce-Core --extensions=php --ignore=*/vendor/*,*/tests/*,*/data/*,*/assets/*,*/.docker/*,*/build/*.asset.php,*/node_modules/* ."
],
"makepot-audit": [
"wp --allow-root i18n make-pot . --exclude=\".github,.wordpress-org,bin,node_modules,tests,docs\" --slug=rave-woocommerce-payment-gateway --debug"
],
"makepot": [
"@makepot-audit --skip-audit"
]
},
"extra": {
"scripts-description": {
"test": "Run unit tests",
"standards:check": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"standards:fix": "Fix coding standards warnings/errors automatically with PHP Code Beautifier",
"makepot-audit": "Generate i18n/languages/rave-woocommerce-payment-gateway.pot file and run audit",
"makepot": "Generate i18n/languages/rave-woocommerce-payment-gateway.pot file"
}
}
}