This repository has been archived by the owner on Sep 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
50 lines (50 loc) · 1.9 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
{
"name": "chubbyphp/chubbyphp-lazy-command",
"description": "Chubbyphp Lazy Command",
"keywords": ["chubbyphp", "lazy", "console", "slim"],
"license": "MIT",
"authors": [
{
"name": "Dominik Zogg",
"email": "dominik.zogg@gmail.com"
}
],
"require": {
"php": "^7.0",
"psr/container": "^1.0",
"symfony/console": "^2.8|^3.4|^4.2|^5.0"
},
"require-dev": {
"container-interop/container-interop": "^1.2",
"friendsofphp/php-cs-fixer": "^2.16",
"phpunit/phpunit": "^6.5.14|^7.5.17|^8.4.3",
"php-coveralls/php-coveralls": "^2.1",
"phploc/phploc": "^4.0.1||^5.0"
},
"autoload": {
"psr-4": { "Chubbyphp\\Lazy\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Chubbyphp\\Tests\\Lazy\\": "tests/" }
},
"extra": {
"branch-alias": {
"dev-master": "1.3-dev"
}
},
"scripts": {
"fix:cs": "mkdir -p build && vendor/bin/php-cs-fixer fix --cache-file=build/phpcs.cache",
"test": [
"@test:lint",
"@test:unit",
"@test:integration",
"@test:loc",
"@test:cs"
],
"test:cs": "mkdir -p build && vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --cache-file=build/phpcs.cache",
"test:integration": "vendor/bin/phpunit --testsuite=Integration",
"test:lint": "mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log",
"test:loc": "mkdir -p build && vendor/bin/phploc src --verbose | tee build/phploc.log",
"test:unit": "phpdbg -qrr vendor/bin/phpunit --testsuite=Unit --coverage-text --coverage-clover=build/phpunit/phpunit.clover.xml --coverage-html=build/phpunit/coverage-html --coverage-xml=build/phpunit/coverage-xml --log-junit=build/phpunit/phpunit.junit.xml"
}
}