-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
51 lines (51 loc) · 1.38 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
{
"name": "carpediem/jsend",
"type" : "library",
"description" : "An Immutable Value Object JSend compliant",
"keywords": ["Jsend", "import", "export", "json", "rest"],
"license": "MIT",
"homepage" : "http://carpediem.github.io/JSend",
"support": {
"issues": "https://github.com/carpediem/jsend/issues"
},
"require": {
"php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit" : "^6.0",
"friendsofphp/php-cs-fixer": "^2.7",
"phpstan/phpstan": "^0.9.2",
"phpstan/phpstan-phpunit": "^0.9.4",
"phpstan/phpstan-strict-rules": "^0.9.0"
},
"autoload": {
"psr-4": {
"Carpediem\\JSend\\" : "src"
}
},
"autoload-dev": {
"psr-4": {
"Carpediem\\JSend\\Test\\": "tests"
}
},
"scripts": {
"phpcs": "php-cs-fixer fix -v --diff --dry-run --allow-risky=yes;",
"phpstan-src": "phpstan analyse -l 7 -c phpstan.src.neon src",
"phpstan-tests": "phpstan analyse -l 7 -c phpstan.tests.neon tests",
"phpstan": [
"@phpstan-src",
"@phpstan-tests"
],
"phpunit": "phpunit --coverage-text",
"test": [
"@phpunit",
"@phpcs",
"@phpstan"
]
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
}
}
}