-
Notifications
You must be signed in to change notification settings - Fork 26
/
composer.json
99 lines (99 loc) · 3.43 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "bear/package",
"description": "BEAR.Sunday application framework package",
"keywords": ["framework", "DI", "AOP", "REST"],
"license": "MIT",
"authors": [
{
"name": "BEAR.Package Contributors",
"homepage": "https://github.com/bearsunday/BEAR.Package/graphs/contributors"
}
],
"require": {
"php": "^8.1",
"ext-hash": "*",
"aura/cli": "^2.2",
"bear/app-meta": "^1.8",
"bear/query-repository": "^1.9.1",
"bear/resource": "^1.22",
"bear/streamer": "^1.2.2",
"bear/sunday": "^1.6.1",
"monolog/monolog": "^1.25 || ^2.0 || ^3.0",
"ray/aop": "^2.13.1",
"ray/di": "^2.15.1",
"ray/object-visual-grapher": "^1.0",
"psr/log": "^1.1 || ^2.0 || ^3.0",
"doctrine/cache": "^1.10 || ^2.0",
"doctrine/annotations": "^1.11",
"koriym/http-constants": "^1.1",
"ray/psr-cache-module": "^1.3.2",
"symfony/cache": "^5.3",
"psr/cache": "^1.0",
"koriym/attributes": "^1.0",
"ray/compiler": "^1.9.1"
},
"require-dev": {
"phpunit/phpunit": "^9.5.10",
"bamarni/composer-bin-plugin": "^1.8"
},
"autoload": {
"psr-4": {
"BEAR\\Package\\": [
"src/",
"src-deprecated"
]
}
},
"autoload-dev": {
"psr-4": {
"BEAR\\Package\\": [
"tests/",
"tests/Fake/"
],
"FakeVendor\\HelloWorld\\": [
"tests/Fake/fake-app/src"
],
"Import\\HelloWorld\\": [
"tests/Fake/import-app/src"
],
"FakeVendor\\MinApp\\": [
"tests/Fake/fake-min-app/src"
]
},
"files": [
"tests-files/hash.php",
"tests-files/deleteFiles.php"
]
},
"bin": [
"bin/bear.compile",
"bin/bear.compile.php"
],
"scripts": {
"test": ["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": ["phpcs"],
"cs-fix": ["phpcbf src tests"],
"clean": ["phpstan clear-result-cache", "psalm --clear-cache", "rm -rf tests/tmp/*.php"],
"sa": ["psalm --show-info=true", "phpstan analyse --no-ansi --no-progress -c phpstan.neon --memory-limit=-1"],
"metrics": ["phpmetrics --report-html=build/metrics --exclude=Exception --junit=build/junit.xml src"],
"phpmd": ["phpmd --exclude src/Annotation src text ./phpmd.xml"],
"build": ["@cs", "@sa", "@pcov", "@metrics"],
"compile": "./bin/bear.compile FakeVendor\\\\HelloWorld prod-app ./tests/Fake/fake-app",
"baseline": "phpstan analyse -configuration -c phpstan.neon --generate-baseline --memory-limit=-1 ;psalm --set-baseline=psalm-baseline.xml"
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
}
}