mirror of
https://github.com/danog/tg-file-decoder.git
synced 2024-11-29 20:28:59 +01:00
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "danog/tg-file-decoder",
|
|
"description": "Decode Telegram bot API file IDs",
|
|
"type": "project",
|
|
"license": "AGPL-3.0-only",
|
|
"keywords": ["telegram", "mtproto", "bot API", "file ID", "video", "stickers", "audio", "files"],
|
|
"authors": [
|
|
{
|
|
"name": "Daniil Gentili",
|
|
"email": "daniil@daniil.it"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=7.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^8|^6",
|
|
"amphp/php-cs-fixer-config": "dev-master",
|
|
"vimeo/psalm": "dev-master"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"danog\\Decoder\\": "src/"
|
|
},
|
|
"files": [
|
|
"src/type.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"danog\\Decoder\\Test\\": "tests"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"check": [
|
|
"@cs",
|
|
"@test"
|
|
],
|
|
"cs": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff --dry-run",
|
|
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff",
|
|
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text --configuration phpunit.xml.dist"
|
|
}
|
|
}
|