-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathcomposer.json
55 lines (55 loc) · 1.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
52
53
54
55
{
"name": "xwp/site-counts",
"description": "Post and taxonomy counts for your WordPress site.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"10up/wp_mock": "0.4.2",
"automattic/vipwpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "0.7.1",
"mockery/mockery": "1.3.1",
"php-coveralls/php-coveralls": "2.4.3",
"phpcompatibility/phpcompatibility-wp": "2.1.0",
"phpunit/phpunit": "8.5.2",
"wp-coding-standards/wpcs": "2.3.0",
"wpsh/local": "0.2.3"
},
"require": {
"php": ">=7.3",
"composer/installers": "^1.7"
},
"autoload": {
"psr-4": {
"XWP\\SiteCounts\\": "php/"
}
},
"autoload-dev": {
"psr-4": {
"XWP\\SiteCounts\\": "tests/php/"
}
},
"scripts": {
"lint": [
"@composer validate --strict",
"phpcs ."
],
"test": [
"phpunit --do-not-cache-result"
],
"coverage": [
"php-coveralls --coverage_clover=tests/coverage/php/clover.xml --json_path=tests/coverage/php/coveralls-upload.json -v"
],
"build": [
"composer install --no-dev --prefer-dist --optimize-autoloader --no-scripts"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
}
}