-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
58 lines (58 loc) · 1.83 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
{
"name": "smoren/yii2-query-relation-manager",
"description": "Class for building queries and making result array with relations (single and multiple)",
"type": "yii2-extension",
"keywords": ["yii2", "extension", "query", "builder", "relation", "ActiveRecord"],
"license": "MIT",
"authors": [
{
"name": "Smoren",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.4",
"ext-pdo": "*",
"yiisoft/yii2": "^2.0.0",
"smoren/query-relation-manager": "^3.0.0"
},
"require-dev": {
"codeception/codeception": "^4.2.1",
"codeception/module-asserts": "^2.0",
"codeception/module-yii2": "^1.0.0",
"php-coveralls/php-coveralls": "^2.0",
"squizlabs/php_codesniffer": "3.*",
"phpstan/phpstan": "^1.8"
},
"autoload": {
"psr-4": {
"Smoren\\QueryRelationManager\\Yii2\\": "src",
"Smoren\\QueryRelationManager\\Yii2\\Tests\\Unit\\": "tests/unit"
}
},
"config": {
"fxp-asset": {
"enabled": false
},
"allow-plugins": {
"yiisoft/yii2-composer": true
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"scripts": {
"test-init": ["./vendor/bin/codecept build"],
"test-migrate": ["php ./tests/scripts/migrate.php"],
"test-all": ["composer test-coverage", "composer codesniffer", "composer stan"],
"test": ["./vendor/bin/codecept run unit tests/unit"],
"test-coverage": ["./vendor/bin/codecept run unit tests/unit --coverage"],
"test-coverage-html": ["./vendor/bin/codecept run unit tests/unit --coverage-html"],
"test-coverage-xml": ["./vendor/bin/codecept run unit tests/unit --coverage-xml"],
"codesniffer": ["./vendor/bin/phpcs --ignore=vendor,tests --standard=tests/coding_standard.xml -s ."],
"stan": ["./vendor/bin/phpstan analyse -l 9 src"]
}
}