forked from nielslange/woo-test-environment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
48 lines (48 loc) · 1.21 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
{
"name": "nielslange/woo-test-environment",
"description": "Set up a WooCommerce Blocks Testing Environment.",
"type": "wp-cli-package",
"homepage": "https://github.com/nielslange/woo-test-environment",
"license": "GPL2+",
"authors": [
{
"name": "Niels Lange",
"email": "[email protected]",
"homepage": "https://nielslange.de"
}
],
"autoload": {
"files": [
"command.php"
]
},
"require": {
"php": ">=7.4"
},
"require-dev": {
"composer/installers": "~1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"johnpbloch/wordpress-core": "^5.7",
"php-parallel-lint/php-parallel-lint": "^1.0",
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "^2.3.0",
"woocommerce/woocommerce-sniffs": "^0.1.2"
},
"scripts": {
"phpcs": [
"@php ./vendor/bin/phpcs -p -s -n . --extensions=php --ignore=\"/vendor/*\""
],
"phpcbf": [
"@php ./vendor/bin/phpcbf -p -s -n . --extensions=php --ignore=\"/vendor/*\""
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}