-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
54 lines (54 loc) · 1.84 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
{
"name": "bear/app-meta",
"description":"BEAR.Sunday application meta information",
"keywords":[
"BEAR.Sunday"
],
"license": "MIT",
"require": {
"php": "^8.0",
"koriym/psr4list": "^1.0.2",
"bear/resource": "^1.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4",
"phpunit/phpunit": "^9.5.10"
},
"autoload":{
"psr-4":{
"BEAR\\AppMeta\\": ["src/", "src-deprecated"]
}
},
"autoload-dev":{
"psr-4":{
"BEAR\\AppMeta\\": ["tests/", "tests/Fake"],
"FakeVendor\\HelloWorld\\": "tests/Fake/fake-app/src",
"FakeVendor\\NotWritable\\": "tests/Fake/fake-not-writable/src"
}
},
"scripts" :{
"post-install-cmd": "@composer bin all install --ansi",
"post-update-cmd": "@composer bin all update --ansi",
"setup": "php bin/setup.php",
"test": "./vendor/bin/phpunit",
"tests": ["@cs", "@sa", "@test"],
"coverage": "php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage",
"pcov": "php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml",
"cs": "./vendor/bin/phpcs",
"cs-fix": "./vendor/bin/phpcbf src tests",
"metrics": "./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception src",
"clean": [
"./vendor/bin/phpstan clear-result-cache",
"./vendor/bin/psalm --clear-cache"
],
"sa": [
"./vendor/bin/phpstan analyse -c phpstan.neon",
"psalm --show-info=true"
]
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
}
}