-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
67 lines (67 loc) · 1.56 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
67
{
"name": "automattic/metrics-poster",
"description": "Plugin to help automate weekly type metrics and posts.",
"type": "wordpress-plugin",
"require": {
"composer/installers": "^2.0",
"php": "^8.1",
"guzzlehttp/guzzle": "^7.0",
"vlucas/phpdotenv": "^5.5"
},
"require-dev": {
"automattic/vipwpcs": "^3",
"phpcompatibility/phpcompatibility-wp": "^2",
"phpunit/phpunit": "^9",
"yoast/phpunit-polyfills": "^2.0",
"brain/monkey": "^2.6"
},
"scripts": {
"coverage": [
"@php ./vendor/bin/phpunit --coverage-html ./build/coverage-html"
],
"coverage-ci": [
"@php ./vendor/bin/phpunit"
],
"cbf": [
"@php ./vendor/bin/phpcbf"
],
"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 --testsuite WP_Tests"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"license": "mit",
"autoload": {
"classmap": [
"src/"
]
},
"autoload-dev": {
"psr-4": {
"MetricPoster\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Omar Serrano",
"email": "[email protected]"
}
]
}