-
Notifications
You must be signed in to change notification settings - Fork 20
/
composer.json
51 lines (51 loc) · 2.38 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
{
"require-dev": {
"phpunit/phpunit": "^9.6.8",
"squizlabs/php_codesniffer": "^3.10",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"wp-coding-standards/wpcs": "^3.1",
"woocommerce/qit-cli": "^0.5.3",
"woocommerce/woocommerce-sniffs": "^0.0.2"
},
"require": {
"automattic/jetpack-connection": "^2.11.3",
"automattic/jetpack-config": "^2.0.4",
"automattic/jetpack-autoloader": "^3.0.9",
"automattic/jetpack-status": "^3.3.2"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"automattic/jetpack-autoloader": true
}
},
"scripts": {
"test": [
"phpunit"
],
"phpcs": [
"./vendor/bin/phpcs -s -p --ignore=vendor,.git,assets,node_modules,dist,docker,release,bin --standard=WooCommerce-Core,WordPress-Core,WordPress-Extra"
],
"phpcbf": [
"./vendor/bin/phpcbf -p --ignore=vendor,.git,assets,node_modules,dist,docker,release,bin --standard=WooCommerce-Core,WordPress-Core,WordPress-Extra "
],
"check-security": [
"./vendor/bin/phpcs . --ignore=vendor,.git,assets,node_modules,dist,docker,release,bin --standard=./.phpcs.security.xml --report-full --report-summary"
],
"check-php": [
"./vendor/bin/phpcs . --ignore=vendor,.git,assets,node_modules,dist,docker,release,bin --standard=WooCommerce-Core,WordPress-Core,WordPress-Extra --report-full --report-summary --colors"
],
"check-php:fix": [
"./vendor/bin/phpcbf . --ignore=vendor,.git,assets,node_modules,dist,docker,release,bin --standard=WooCommerce-Core,WordPress-Core,WordPress-Extra --report-full --report-summary --colors"
],
"check-all": [
"./vendor/bin/phpcs . --ignore=vendor,.git,assets,node_modules,dist,docker,release,bin --standard=WooCommerce-Core,WordPress-Core,WordPress-Extra,WordPress-Docs --report-full --report-summary --colors"
],
"check-all:fix": [
"./vendor/bin/phpcbf . --ignore=vendor,.git,assets,node_modules,dist,docker,release,bin --standard=WooCommerce-Core,WordPress-Core,WordPress-Extra,WordPress-Docs --report-full --report-summary --colors"
],
"qit:security": [
"npm run build && composer install && ./vendor/bin/qit run:security woocommerce-services --zip=woocommerce-services.zip"
]
}
}