-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
92 lines (92 loc) · 2.63 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "coolephp/goaop",
"description": "Bringing the goaop to Coole. - 将 goaop 集成到 Coole。",
"keywords": [
"aop",
"goaop",
"aspect",
"coole",
"php"
],
"homepage": "https://github.com/coolephp/goaop",
"support": {
"issues": "https://github.com/coolephp/goaop/issues",
"source": "https://github.com/coolephp/goaop"
},
"authors": [
{
"name": "guanguans",
"email": "[email protected]",
"homepage": "https://www.guanguans.cn",
"role": "developer"
}
],
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"goaop/framework": "^2.0",
"guanguans/coole": "^1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"vimeo/psalm": "^3.11",
"mockery/mockery": "^1.2",
"brainmaestro/composer-git-hooks": "^2.7",
"phpunit/phpunit": "^7 || ^8"
},
"autoload": {
"psr-4": {
"Coole\\Goaop\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Coole\\Goaop\\Tests\\": "tests"
}
},
"config": {
"sort-packages": true
},
"extra": {
"hooks": {
"pre-commit": [
"composer test",
"composer check-style"
],
"pre-push": [
"composer test",
"composer check-style"
]
}
},
"funding": [
{
"type": "wechat",
"url": "https://www.guanguans.cn/images/wechat.jpeg"
}
],
"scripts": {
"post-update-cmd": [
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks add --ignore-lock",
"cghooks update"
],
"cghooks": "./vendor/bin/cghooks",
"check-style": "php-cs-fixer fix --using-cache=no --diff --config=.php_cs.dist --dry-run --ansi",
"fix-style": "php-cs-fixer fix --using-cache=no --config=.php_cs.dist --ansi",
"psalm": "./vendor/bin/psalm",
"test": "./vendor/bin/phpunit --coverage-text --colors=always --verbose",
"test-coverage": "./vendor/bin/phpunit --coverage-html=coverage/ --coverage-clover=clover.xml --color=always --verbose"
},
"scripts-descriptions": {
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations.",
"test": "Run all tests.",
"test-coverage": "Run all tests with coverage."
}
}