forked from marcocesarato/php-conventional-changelog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
68 lines (68 loc) · 2.1 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
68
{
"name": "marcocesarato/php-conventional-changelog",
"description": "Generate changelogs and release notes from a project's commit messages and metadata and automate versioning with semver.org and conventionalcommits.org",
"version": "1.15.1",
"type": "library",
"license": "GPL-3.0-or-later",
"minimum-stability": "stable",
"bin": [
"conventional-changelog"
],
"keywords": [
"conventional-changelog",
"readme",
"generation",
"git",
"php",
"conventional-commit",
"conventional-commits",
"conventionalcommits",
"changelog",
"history",
"tag",
"commit",
"commits",
"conventional",
"convention",
"conventional-changelog-preset"
],
"authors": [
{
"name": "Marco Cesarato",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"ConventionalChangelog\\": "src/"
}
},
"scripts": {
"changelog": "php conventional-changelog",
"check-cs": "php-cs-fixer fix --dry-run --format=txt --verbose --diff --diff-format=udiff --config=.php-cs-fixer.php",
"fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php --verbose",
"release": "php conventional-changelog --commit",
"release:patch": "php conventional-changelog --commit --patch",
"release:minor": "php conventional-changelog --commit --minor",
"release:major": "php conventional-changelog --commit --major",
"hooks": "cghooks",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"brainmaestro/composer-git-hooks": "^2.8"
},
"require": {
"php": ">=7.1.3",
"ext-json": "*",
"symfony/console": "^4 || ^5 || ^6"
},
"extra": {
"hooks": {
"pre-commit": "composer fix-cs",
"pre-push": "composer check-cs",
"post-merge": "composer install"
}
}
}