-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
61 lines (61 loc) · 1.51 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
{
"name": "mitirrli/build-query",
"description": "model query for orm.",
"type": "library",
"keywords": [
"tools",
"framework",
"orm"
],
"license": "MIT",
"authors": [
{
"name": "Mitirrli",
"email": "phper.blue@gmail.com"
}
],
"require": {
"php": "^7.1"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.3",
"phpunit/phpunit": "~7",
"friendsofphp/php-cs-fixer": "^2.16",
"brainmaestro/composer-git-hooks": "^2.8"
},
"autoload": {
"psr-4": {
"Mitirrli\\Buildable\\": "./src/"
},
"files": [
"src/Extend/common.php"
]
},
"autoload-dev": {
"psr-4": {
"Mitirrli\\Buildable\\Tests\\": "./tests"
}
},
"extra": {
"hooks": {
"pre-commit": "composer check-style",
"pre-push": [
"composer test",
"composer cs-fix"
]
}
},
"scripts": {
"post-update-cmd": [
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks add --ignore-lock",
"cghooks update"
],
"check-style": "php-cs-fixer fix --using-cache=no --diff --config=.php_cs --dry-run --ansi",
"cs-fix": "php-cs-fixer fix --using-cache=no --config=.php_cs --ansi",
"test": "vendor/bin/phpunit --colors=always --testdox"
}
}