34 lines
749 B
JSON
34 lines
749 B
JSON
{
|
|
"autoload": {
|
|
"files": [
|
|
"src/constants.php",
|
|
"src/config.php",
|
|
"src/functions.php"
|
|
],
|
|
"psr-4": {
|
|
"Aviat\\Kilo\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Aviat\\Kilo\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"ext-json": "*",
|
|
"phpunit/phpunit": "^9.5.0",
|
|
"phpstan/phpstan": "^1.8.2",
|
|
"spatie/phpunit-snapshot-assertions": "^4.2.15"
|
|
},
|
|
"scripts": {
|
|
"coverage": "phpdbg -qrr -- vendor/bin/phpunit -c phpunit.xml tests",
|
|
"phpstan": "phpstan analyse -c phpstan.neon",
|
|
"test": "vendor/bin/phpunit -c phpunit.xml --no-coverage tests",
|
|
"test-update": "vendor/bin/phpunit -c phpunit.xml --no-coverage -d --update-snapshots tests"
|
|
},
|
|
"require": {
|
|
"ext-ffi": "*",
|
|
"php": ">= 8.1.0"
|
|
}
|
|
}
|