-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
47 lines (47 loc) · 1.17 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
{
"name": "renekorss/personal-id-code-php",
"description": "Estonian personal ID code validator and processor",
"type": "library",
"require-dev": {
"phpunit/phpunit": "^9.4",
"squizlabs/php_codesniffer": "^3.6",
"phpmd/phpmd": "^2.9",
"php-coveralls/php-coveralls": "^2.1",
"friendsofphp/php-cs-fixer": "^3.1",
"phpdocumentor/phpdocumentor": "~3.0.0"
},
"license": "MIT",
"authors": [
{
"name": "Rene Korss",
"email": "[email protected]"
}
],
"require": {
"php": "^7.2|^8.0"
},
"autoload": {
"psr-4": {
"RKD\\PersonalIdCode\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RKD\\PersonalIdCode\\": "tests/"
}
},
"scripts": {
"build": [
"@format",
"@test",
"@phpmd",
"@phpcs",
"@docs"
],
"test": "./vendor/bin/phpunit",
"format": "./vendor/bin/php-cs-fixer fix",
"docs": "./vendor/bin/phpdoc -d ./src -t ./docs --template=responsive-twig",
"phpmd": "./vendor/bin/phpmd ./src text cleancode,codesize,controversial,design,naming,unusedcode",
"phpcs": "./vendor/bin/phpcs --report=full --extensions=php -p --standard=PSR2 ./src ./tests"
}
}