forked from bearsunday/BEAR.Sunday
/
composer.json
50 lines (50 loc) · 1.41 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": "bear/sunday",
"description": "A resource-oriented application framework",
"keywords": [
"framework",
"DI",
"AOP",
"REST",
"Hypermedia"
],
"license": "MIT",
"authors": [
{
"name": "Akihito Koriyama",
"email": "akihito.koriyama@gmail.com",
"homepage": "http://koriym.github.io/about/"
},
{
"name": "BEAR.Sunday Contributors",
"homepage": "http://bearsunday.github.io/contributors.html"
}
],
"require": {
"php": ">=7.0.0",
"bear/resource": "^1.9.2",
"psr/log": "^1.0.2"
},
"require-dev": {
"phpunit/phpunit": "^6.2"
},
"autoload": {
"psr-4": {
"BEAR\\Sunday\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"BEAR\\Sunday\\": ["tests/", "tests/Fake/"],
"FakeVendor\\HelloWorld\\": "tests/Fake/Apps/FakeVendor/HelloWorld/",
"FakeVendor\\HelloWorldX\\": "tests/Fake/Apps/FakeVendor/HelloWorldX/"
},
"files": ["tests/functions.php"]
},
"scripts" :{
"test": ["@cs", "phpunit", "phpstan analyse -l max src tests -c phpstan.neon --no-progress"],
"coverage": ["php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"cs": ["php-cs-fixer fix -v --dry-run", "phpcs --standard=./phpcs.xml src"],
"cs-fix": ["php-cs-fixer fix -v", "phpcbf src"]
}
}