-
Notifications
You must be signed in to change notification settings - Fork 24
/
composer.json
41 lines (41 loc) · 1.14 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
{
"name": "consolidation/cgr",
"description": "Safer alternative to 'composer global require'.",
"keywords": ["package", "composer"],
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Greg Anderson",
"email": "[email protected]"
}
],
"require": {
"php": "^5.3.2 || ^7.0 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8",
"php-coveralls/php-coveralls": "~2.4",
"squizlabs/php_codesniffer": "~3.6"
},
"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": "PATH=.:$PATH box.phar build",
"test": [ "@phpunit", "@cs" ],
"phpunit": "phpunit --colors=always",
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src"
},
"bin": ["bin/cgr"],
"autoload": {
"psr-4": {"Consolidation\\Cgr\\": "src"}
},
"extra": {
"branch-alias": {
"dev-main": "2.x-dev"
}
}
}