-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
60 lines (60 loc) · 2.27 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
{
"name": "stolt/git-user-bend",
"description": "A utility tool for managing the Git user configuration.",
"keywords": ["git" , "user", "configuration", "cli", "dev"],
"license": "MIT",
"authors": [
{
"name": "Raphael Stolt",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"symfony/console": "^v7.1||^v5.4.8"
},
"autoload": {
"psr-4": {
"Stolt\\GitUserBend\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Stolt\\GitUserBend\\Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"config": {
"sort-packages": true
},
"bin": ["bin/git-user-bend"],
"scripts-descriptions": {
"test": "Runs all tests.",
"test-with-coverage": "Runs all tests and measures code coverage.",
"configure-commit-template": "Configures a local commit message template.",
"cs-fix": "Fixes coding standard violations.",
"cs-lint": "Checks for coding standard violations.",
"application-version-guard": "Checks that the application version matches the given Git tag.",
"validate-gitattributes": "Checks the leanness of this package.",
"static-analyse": "Runs a static code analysis via PHPStan."
},
"scripts": {
"test": "phpunit",
"test-with-coverage": "export XDEBUG_MODE=coverage && phpunit --coverage-html coverage-reports",
"configure-commit-template": "git config --add commit.template .gitmessage",
"cs-fix": "php-cs-fixer fix . --allow-risky=yes -vv || true",
"cs-lint": "php-cs-fixer fix --diff --stop-on-violation --verbose --dry-run --allow-risky=yes",
"application-version-guard": "php bin/application-version --verify-tag-match",
"validate-gitattributes": "lean-package-validator validate",
"static-analyse": "phpstan analyse --configuration phpstan.neon.dist"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.0",
"php-mock/php-mock-phpunit": "^2.7||^1.1",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.3||^9.6.13",
"stolt/lean-package-validator": "^3.2",
"vierbergenlars/php-semver": "^3.0"
}
}