-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
68 lines (68 loc) · 1.8 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
{
"name": "vovke/loan-payments-calculator",
"description": "PHP library for payment schedule calculations, using various strategies and configurations.",
"keywords": [
"Loan",
"Calculator",
"Interest",
"Annuity"
],
"license": "MIT",
"authors": [
{
"name": "Vova Lando"
}
],
"require": {
"php": ">=5.6.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7 || ^6.0",
"squizlabs/php_codesniffer": "^2.8",
"friendsofphp/php-cs-fixer": "^2.3",
"phpmd/phpmd": "^2.6"
},
"autoload": {
"psr-4": {
"cog\\LoanPaymentsCalculator\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"cog\\LoanPaymentsCalculator\\": [
"tests/",
"tests/Fake"
]
}
},
"scripts": {
"test": [
"phpmd src text ./phpmd.xml",
"@cs",
"phpunit"
],
"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"
],
"build": [
"rm -rf ./build; mkdir -p ./build/logs ./build/pdepend",
"pdepend --jdepend-xml=./build/logs/jdepend.xml --jdepend-chart=./build/pdepend/dependencies.svg --overview-pyramid=./build/pdepend/overview-pyramid.svg src",
"phploc --log-csv ./build/logs/phploc.csv src",
"@cs",
"@test"
]
},
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
}
}