-
Notifications
You must be signed in to change notification settings - Fork 51
/
composer.json
63 lines (63 loc) · 1.57 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
{
"name": "automattic/ad-code-manager",
"type": "wordpress-plugin",
"description": "Easy ad code management",
"homepage": "https://github.com/Automattic/ad-code-manager/",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Automattic",
"homepage": "https://automattic.com/"
}
],
"require": {
"php": ">=7.4",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"automattic/vipwpcs": "^3",
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"yoast/wp-test-utils": "^1"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"cbf": [
"@php ./vendor/bin/phpcbf"
],
"coverage": [
"@php ./vendor/bin/phpunit --coverage-html ./.phpunit.cache/coverage-html"
],
"coverage-ci": [
"@php ./vendor/bin/phpunit"
],
"cs": [
"@php ./vendor/bin/phpcs"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"lint-ci": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --checkstyle"
],
"prepare-ci": [
"bash bin/install-wp-tests.sh wordpress_test root root localhost"
],
"test": [
"@php ./vendor/bin/phpunit --no-coverage --order-by=random"
],
"test-ms": [
"@putenv WP_MULTISITE=1",
"@composer test"
]
},
"support": {
"issues": "https://github.com/Automattic/ad-code-manager/issues",
"source": "https://github.com/Automattic/ad-code-manager"
}
}