-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
75 lines (75 loc) · 2.32 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
{
"name": "coole/db",
"description": "Database component of the Coole framework.",
"keywords": ["coole", "database", "db"],
"homepage": "https://github.com/coole/db",
"authors": [
{
"name": "guanguans",
"email": "[email protected]",
"homepage": "https://www.guanguans.cn",
"role": "developer"
}
],
"type": "library",
"license": "MIT",
"require": {
"php": ">7.3",
"illuminate/database": "^8.70",
"illuminate/events": "^8.70",
"illuminate/pagination": "^8.70"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.3",
"nyholm/nsa": "^1.3",
"phpunit/phpunit": "^8.0 || ^9.0",
"vimeo/psalm": "^4.9"
},
"autoload": {
"psr-4": {
"Coole\\DB\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Coole\\DB\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"hooks": {
"pre-commit": [],
"pre-push": []
}
},
"scripts": {
"post-update-cmd": [
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks add --ignore-lock",
"cghooks update"
],
"cghooks": "./vendor/bin/cghooks",
"style-lint": "./vendor/bin/php-cs-fixer fix --using-cache=no --config=.php-cs-fixer.php --diff --dry-run --ansi",
"style-fix": "./vendor/bin/php-cs-fixer fix --using-cache=no --config=.php-cs-fixer.php --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": {
"cghooks": "Run git cghooks.",
"style-lint": "Run style checks (only dry run - no fixing!).",
"style-fix": "Run style checks and fix violations.",
"psalm": "Run psalm checks.",
"test": "Run all tests.",
"test-coverage": "Run all tests with coverage."
},
"minimum-stability": "dev",
"prefer-stable": true
}