-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
77 lines (77 loc) · 2.03 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
{
"name": "g1a/hubph",
"description": "Template project for PHP libraries.",
"license": "MIT",
"authors": [
{
"name": "Greg Anderson",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Hubph\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Hubph\\": "tests/src"
}
},
"require": {
"php": ">=7.1.3",
"consolidation/filter-via-dot-access-data": "^1 || ^2",
"consolidation/robo": "^2.0.5 || ^3",
"knplabs/github-api": "^2.14",
"php-http/guzzle6-adapter": "^1.1",
"symfony/console": "^2.8 || ^3 || ^4 || ^5",
"symfony/filesystem": "^2.8 || ^3 || ^4.4"
},
"require-dev": {
"phpunit/phpunit": "^5",
"g1a/composer-test-scenarios": "^2",
"satooshi/php-coveralls": "^2",
"squizlabs/php_codesniffer": "^3.6.1"
},
"scripts": {
"phar:install-tools": [
"gem install mime-types -v 2.6.2",
"curl -LSs https://box-project.github.io/box2/installer.php | php"
],
"phar:build": "box build",
"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-update-cmd": [
"dependency-licenses"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.1.3"
},
"allow-plugins": {
"php-http/discovery": true
}
},
"extra": {
"branch-alias": {
"dev-main": "0.x-dev"
}
}
}