You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"name": "postfixadmin/postfixadmin",
|
|
"description": "web based administration interface for Postfix mail servers",
|
|
"type": "project",
|
|
"license": "GPL-2.0",
|
|
"scripts": {
|
|
"build" : [
|
|
"@check-format",
|
|
"@lint",
|
|
"@test-fixup",
|
|
"@psalm",
|
|
"@test"
|
|
],
|
|
"check-format": "php-cs-fixer fix --ansi --dry-run --diff",
|
|
"format": "php-cs-fixer fix --ansi",
|
|
"lint": "@php ./vendor/bin/parallel-lint --exclude vendor/ --exclude lib/block_random_int.php --exclude lib/array_column.php .",
|
|
"test": "DATABASE=sqlite ./vendor/bin/phpunit --coverage-clover ./coverage.xml tests/",
|
|
"test-fixup": "mkdir -p templates_c ; test -f config.local.php || touch config.local.php",
|
|
"psalm": "@php ./vendor/bin/psalm --no-cache --show-info=false "
|
|
},
|
|
"require": {
|
|
"php": ">=7.0"
|
|
},
|
|
"require-dev": {
|
|
"ext-mysqli": "*",
|
|
"ext-sqlite3": "*",
|
|
"friendsofphp/php-cs-fixer": "*",
|
|
"jakub-onderka/php-parallel-lint": "^1.0",
|
|
"php": ">7.2.0",
|
|
"php-coveralls/php-coveralls" : "*",
|
|
"phpunit/phpunit": "^6|^7",
|
|
"vimeo/psalm":"^3.0",
|
|
"shardj/zf1-future" : "^1.12"
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"config.inc.php",
|
|
"functions.inc.php",
|
|
"lib/smarty/libs/bootstrap.php"
|
|
]
|
|
}
|
|
}
|