-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
55 lines (55 loc) · 1.34 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": "angelxmoreno/wprestclient",
"description": "WPRestClient is a PHP library for seamless WordPress site interaction via the RESTful API",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"WPRestClient\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"WPRestClient\\Test\\": "tests/"
}
},
"authors": [
{
"name": "Angel S. Moreno",
"email": "angelxmoreno@gmail.com"
}
],
"require": {
"cakephp/utility": "^4.4",
"php": "^7.4",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.7",
"cakephp/collection": "^4.4"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7",
"phpmd/phpmd": "^2.13",
"kahlan/kahlan": "^5.2"
},
"scripts": {
"test": "kahlan",
"coverage": [
"@lcov:generate",
"@lcov:html",
"@lcov:open"
],
"lcov:generate": "kahlan --coverage=4 --lcov=coverage.info",
"lcov:html": "genhtml --output-directory lcov/public/ coverage.info",
"lcov:open": "open lcov/public/index.html",
"test-ci": "kahlan --coverage --lcov=coverage.info",
"check": [
"@cs-check",
"@md-check"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"md-check": "phpmd src,tests,kahlan-config.php text phpmd.xml",
"docs:serve": "mkdocs serve",
"docs:build": "mkdocs build && open site/index.html"
}
}