mirror of
https://github.com/retailcrm/url-validator.git
synced 2024-11-24 14:16:07 +03:00
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "retailcrm/url-validator",
|
|
"description": "URL validator for RetailCRM",
|
|
"type": "library",
|
|
"keywords": ["Validator", "RetailCRM"],
|
|
"homepage": "https://www.retailcrm.ru/",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "RetailCRM",
|
|
"email": "support@retailcrm.ru"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=7.3",
|
|
"ext-json": "*",
|
|
"symfony/validator": "^3 || ^4 || ^5"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^9.5.7",
|
|
"squizlabs/php_codesniffer": "3.*",
|
|
"phpstan/phpstan": "^0.12.92",
|
|
"phpmd/phpmd": "^2.10"
|
|
},
|
|
"support": {
|
|
"email": "support@retailcrm.ru"
|
|
},
|
|
"autoload": {
|
|
"psr-4": { "RetailCrm\\": "src/" }
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "0.1-dev"
|
|
}
|
|
},
|
|
"config": {
|
|
"bin-dir": "vendor/bin",
|
|
"process-timeout": 600
|
|
},
|
|
"scripts": {
|
|
"phpunit": "./vendor/bin/phpunit -c phpunit.xml.dist --coverage-text",
|
|
"phpunit-ci": "@php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude=\"~vendor~\" ./vendor/bin/phpunit --teamcity -c phpunit.xml.dist",
|
|
"phpmd": "./vendor/bin/phpmd src text ./phpmd.xml",
|
|
"phpcs": "./vendor/bin/phpcs -p src --runtime-set testVersion 7.3-8.0 && ./vendor/bin/phpcs -p tests --runtime-set testVersion 7.3-8.0 --warning-severity=0",
|
|
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon src --memory-limit=-1",
|
|
"verify": [
|
|
"@phpcs",
|
|
"@phpmd",
|
|
"@phpstan",
|
|
"@phpunit"
|
|
]
|
|
}
|
|
}
|