-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
48 lines (48 loc) · 1.43 KB
/
composer.json
File metadata and controls
48 lines (48 loc) · 1.43 KB
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": "vanilla/garden-git",
"description": "A PHP library for working with git and github.",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Adam Charron",
"email": "adam@charrondev.com"
}
],
"autoload": {
"psr-4": {
"Garden\\Git\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Garden\\Git\\Tests\\": "tests"
}
},
"require": {
"php": ">=8.0",
"vanilla/garden-http": "^3.0",
"symfony/filesystem": "^5.4 || ^6.0",
"symfony/process": "*",
"vanilla/garden-schema": ">=3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0"
},
"scripts": {
"tests": [
"phpunit ./tests --testdox"
],
"tests:ci": [
"php --define pcov.enabled=1 ./vendor/bin/phpunit ./tests --log-junit ./.coverage/php-tests-junit.xml --coverage-clover ./.coverage/php-tests-coverage.xml --whitelist ./src"
],
"tests:coverage": [
"php --define xdebug.mode=coverage ./vendor/bin/phpunit ./tests --coverage-html=./.coverage/php-tests-coverage.html --whitelist ./src"
]
},
"scripts-descriptions": {
"tests": "Run all tests.",
"tests:ci": "Run tests for CI.",
"tests:coverage": "Run all tests and generate coverage reports. Requires PCov or XDebug extension installed."
}
}