mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -06:00
67 lines
2.1 KiB
JSON
67 lines
2.1 KiB
JSON
{
|
|
"name": "vstelmakh/url-highlight",
|
|
"description": "Library to parse urls from string input",
|
|
"keywords": ["url", "parser", "html", "extract", "clickable"],
|
|
"type": "library",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/vstelmakh/url-highlight",
|
|
"authors": [
|
|
{
|
|
"name": "Volodymyr Stelmakh",
|
|
"homepage": "https://github.com/vstelmakh"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^7.1 || ^8",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"symfony/polyfill-php72": "^1.10"
|
|
},
|
|
"require-dev" : {
|
|
"phpunit/phpunit": "^7.5.3 || ^8 || ^9",
|
|
"phpstan/phpstan": "^0.12",
|
|
"squizlabs/php_codesniffer": "^3.5",
|
|
"vstelmakh/covelyzer": "^0.1",
|
|
"phpbench/phpbench": "^0.16 || ^0.17"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"VStelmakh\\UrlHighlight\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"VStelmakh\\UrlHighlight\\Tests\\": "tests/",
|
|
"VStelmakh\\UrlHighlight\\Benchmarks\\": "benchmarks/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test:phpcs": "vendor/bin/phpcs -n",
|
|
"test:phpstan": "vendor/bin/phpstan analyse --ansi --no-progress",
|
|
"test:phpunit": "vendor/bin/phpunit --colors=always",
|
|
|
|
"test:phpunit-coverage": [
|
|
"@test:phpunit --dump-xdebug-filter var/xdebug-filter.php",
|
|
"@test:phpunit --prepend var/xdebug-filter.php --coverage-clover var/coverage.xml"
|
|
],
|
|
"test:covelyzer": "vendor/bin/covelyzer var/coverage.xml --ansi",
|
|
|
|
"test:phpbench": "vendor/bin/phpbench run --report=url_highlight --time-unit=milliseconds --ansi",
|
|
|
|
"test:all": [
|
|
"@test:phpcs",
|
|
"@test:phpstan",
|
|
"@test:phpunit-coverage",
|
|
"@test:covelyzer",
|
|
"@test:phpbench"
|
|
]
|
|
},
|
|
"scripts-descriptions": {
|
|
"test:phpcs": "Run PHP Code Sniffer",
|
|
"test:phpstan": "Run PHPStan",
|
|
"test:phpunit": "Run PHPUnit",
|
|
"test:phpunit-coverage": "Run PHPUnit with coverage",
|
|
"test:all": "Run all code analysis and tests"
|
|
}
|
|
}
|