-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
66 lines (66 loc) · 1.82 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
{
"name": "emerchantpay/woocommerce-emerchantpay-plugin",
"description": "emerchantpay Payment Gateway for WooCommerce",
"minimum-stability": "stable",
"license": "GPL-2.0",
"version": "1.17.1",
"type": "wordpress-plugin",
"authors": [
{
"name": "emerchantpay",
"email": "shopping_carts@emerchantpay.com",
"homepage":"https://emerchantpay.com"
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"vendor-dir": "libraries/vendor"
},
"autoload": {
"classmap": [
"classes",
"includes"
],
"psr-4": {
"Genesis\\": "libraries/genesis/src/Genesis"
}
},
"require-dev": {
"wp-coding-standards/wpcs": "^3.1",
"squizlabs/php_codesniffer": "^3.9",
"phpmd/phpmd" : "^2.15"
},
"scripts": {
"pack": [
"@gen-language",
"@build",
"bin/pack"
],
"gen-language": [
"msgfmt languages/woocommerce-emerchantpay-en_GB.po -o languages/woocommerce-emerchantpay-en_GB.mo",
"msgfmt languages/woocommerce-emerchantpay-en_US.po -o languages/woocommerce-emerchantpay-en_US.mo"
],
"build": [
"npm install",
"npm run build"
],
"php-cs": [
"libraries/vendor/bin/phpcs --standard=./.phpcs.xml --report=full --colors ./"
],
"php-cs-jenkins": [
"libraries/vendor/bin/phpcs -d memory_limit=-1 --standard=./.phpcs.xml --report=checkstyle --report-file=phpcs_report.xml ./"
],
"php-md": [
"libraries/vendor/bin/phpmd --color ./ ansi ./.phpmd.xml --not-strict"
],
"php-md-jenkins": [
"libraries/vendor/bin/phpmd ./ xml ./.phpmd.xml --reportfile=phpmd_report.xml --not-strict --ignore-violations-on-exit"
],
"styles": [
"@php-cs",
"@php-md"
]
}
}