-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
73 lines (73 loc) · 2.22 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
{
"name": "coole/view",
"description": "View component of the Coole framework.",
"keywords": ["coole", "view"],
"homepage": "https://github.com/coole/view",
"authors": [
{
"name": "guanguans",
"email": "[email protected]",
"homepage": "https://www.guanguans.cn",
"role": "developer"
}
],
"type": "library",
"license": "MIT",
"require": {
"php": ">7.3",
"twig/twig": "^3.3"
},
"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\\View\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Coole\\View\\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
}