forked from DiffyWebsite/diffy-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
70 lines (70 loc) · 1.82 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
{
"name": "diffy-website/diffy-cli",
"description": "Diffy CLI tool.",
"license": "MIT",
"authors": [
{
"name": "Yuriy Gerasimov",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"DiffyCli\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"DiffyCli\\": "tests/src"
}
},
"require": {
"php": ">=7.1",
"ext-json": "*",
"consolidation/robo": "^3",
"diffywebsite/diffy-php": "1.x-dev",
"guzzlehttp/guzzle": "^6.5"
},
"require-dev": {
"knplabs/github-api": "^2.7",
"php-http/guzzle6-adapter": "^1.1",
"phpunit/phpunit": "^6",
"g1a/composer-test-scenarios": "^2",
"satooshi/php-coveralls": "^2",
"squizlabs/php_codesniffer": "^2.8"
},
"scripts": {
"phar:install-tools": [
"mkdir -p tools",
"curl -L https://github.com/humbug/box/releases/download/3.9.1/box.phar -o tools/box",
"chmod +x tools/box"
],
"phar:build": "env PATH=tools:$PATH box compile",
"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"
],
"release": [
"release VERSION"
],
"scenario": "scenarios/install"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.1.13"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
}
}