46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "ktxc/server",
|
|
"type": "project",
|
|
"license": "proprietary",
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true,
|
|
"require": {
|
|
"php": ">=8.2",
|
|
"ext-ctype": "*",
|
|
"ext-iconv": "*",
|
|
"mongodb/mongodb": "^2.1",
|
|
"php-di/php-di": "*",
|
|
"phpseclib/phpseclib": "^3.0",
|
|
"symfony/console": "^8.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^11.0"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"php-http/discovery": true
|
|
},
|
|
"bump-after-update": true,
|
|
"sort-packages": true
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"KTXC\\": "core/lib/",
|
|
"KTXF\\": "shared/lib/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"KTXT\\": "tests/php/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
],
|
|
"post-update-cmd": [
|
|
],
|
|
"test:unit": "phpunit --configuration tests/php/phpunit.unit.xml --colors=always --testdox",
|
|
"test:coverage": "XDEBUG_MODE=coverage phpunit --configuration tests/php/phpunit.unit.xml --coverage-html .phpunit.coverage --coverage-text"
|
|
}
|
|
}
|