-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
91 lines (91 loc) · 2.39 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
{
"name": "pantheon-systems/update-tool",
"description": "Template project for PHP libraries.",
"license": "MIT",
"authors": [
{
"name": "Greg Anderson",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"UpdateTool\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"UpdateTool\\": "tests/src"
}
},
"require": {
"php": ">=7.1",
"composer/semver": "^2.0",
"consolidation/robo": "^2.0.5",
"consolidation/version-tool": "^0.1.9",
"g1a/hubph": "^0.6",
"php-http/guzzle6-adapter": "^1.1",
"symfony/console": "^2.8|^3|^4",
"tm/tooly-composer-script": "^1.4"
},
"require-dev": {
"phpunit/phpunit": "^5.7.27",
"g1a/composer-test-scenarios": "^2",
"satooshi/php-coveralls": "^2",
"squizlabs/php_codesniffer": "^3"
},
"bin": [
"update-tool"
],
"scripts": {
"phar:build": [
"rm -Rf ./update-tool.phar",
"php -d phar.readonly=off vendor/bin/phar-composer.phar build .",
"chmod +x update-tool.phar"
],
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"unit": "phpunit --colors=always",
"lint": [
"find src -name '*.php' -print0 | xargs -0 -n1 php -l",
"find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
],
"test": [
"@lint",
"@unit",
"@cs"
],
"release": [
"release VERSION"
],
"scenario": "scenarios/install",
"post-install-cmd": [
"Tooly\\ScriptHandler::installPharTools"
],
"post-update-cmd": [
"Tooly\\ScriptHandler::installPharTools",
"dependency-licenses"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.1.13"
},
"allow-plugins": {
"php-http/discovery": true
}
},
"extra": {
"branch-alias": {
"dev-master": "0.x-dev"
},
"tools": {
"phar-composer": {
"url": "https://clue.engineering/phar-composer-latest.phar",
"dev-only": true
}
}
}
}