mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
126 lines
4.5 KiB
JSON
126 lines
4.5 KiB
JSON
{
|
|
"name": "pelago/emogrifier",
|
|
"description": "Converts CSS styles into inline style attributes in your HTML code",
|
|
"keywords": [
|
|
"email",
|
|
"css",
|
|
"pre-processing"
|
|
],
|
|
"homepage": "https://www.myintervals.com/emogrifier.php",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Oliver Klee",
|
|
"email": "github@oliverklee.de"
|
|
},
|
|
{
|
|
"name": "Zoli Szabó",
|
|
"email": "zoli.szabo+github@gmail.com"
|
|
},
|
|
{
|
|
"name": "John Reeve",
|
|
"email": "jreeve@pelagodesign.com"
|
|
},
|
|
{
|
|
"name": "Jake Hotson",
|
|
"email": "jake@qzdesign.co.uk"
|
|
},
|
|
{
|
|
"name": "Cameron Brooks"
|
|
},
|
|
{
|
|
"name": "Jaime Prado"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0",
|
|
"ext-dom": "*",
|
|
"ext-libxml": "*",
|
|
"sabberworm/php-css-parser": "^8.3.1",
|
|
"symfony/css-selector": "^3.4.32 || ^4.4 || ^5.3 || ^6.0"
|
|
},
|
|
"require-dev": {
|
|
"php-parallel-lint/php-parallel-lint": "^1.3.0",
|
|
"phpunit/phpunit": "^8.5.16",
|
|
"rawr/cross-data-providers": "^2.3.0"
|
|
},
|
|
"config": {
|
|
"preferred-install": {
|
|
"*": "dist"
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-main": "7.0.x-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Pelago\\Emogrifier\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Pelago\\Emogrifier\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"prefer-stable": true,
|
|
"scripts": {
|
|
"ci": [
|
|
"@ci:static",
|
|
"@ci:dynamic"
|
|
],
|
|
"ci:composer:normalize": "@php \"./.phive/composer-normalize\" --dry-run",
|
|
"ci:dynamic": [
|
|
"@ci:tests"
|
|
],
|
|
"ci:php:fixer": "@php \"./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots config/ src/ tests/",
|
|
"ci:php:lint": "\"./vendor/bin/parallel-lint\" config src tests",
|
|
"ci:php:md": "@php \"./.phive/phpmd\" src text config/phpmd.xml",
|
|
"ci:php:psalm": "@php \"./.phive/psalm\" --show-info=false",
|
|
"ci:php:sniff": "@php \"./.phive/phpcs\" config src tests",
|
|
"ci:static": [
|
|
"@ci:composer:normalize",
|
|
"@ci:php:lint",
|
|
"@ci:php:sniff",
|
|
"@ci:php:fixer",
|
|
"@ci:php:md",
|
|
"@ci:php:psalm"
|
|
],
|
|
"ci:tests": [
|
|
"@ci:tests:unit"
|
|
],
|
|
"ci:tests:sof": "@php \"./vendor/bin/phpunit\" --stop-on-failure",
|
|
"ci:tests:unit": "@php \"./vendor/bin/phpunit\"",
|
|
"composer:normalize": "@php \"./.phive/composer-normalize\"",
|
|
"php:fix": "@php \"./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix config/ src/ tests/",
|
|
"php:version": "@php -v | grep -Po 'PHP\\s++\\K(?:\\d++\\.)*+\\d++(?:-\\w++)?+'",
|
|
"psalm:baseline": "@php \"./.phive/psalm\" --set-baseline=psalm.baseline.xml",
|
|
"psalm:cc": "@php \"./.phive/psalm\" --clear-cache"
|
|
},
|
|
"scripts-descriptions": {
|
|
"ci": "Runs all dynamic and static code checks.",
|
|
"ci:composer:normalize": "Checks the formatting and structure of the composer.json.",
|
|
"ci:dynamic": "Runs all dynamic tests (i.e., currently, the unit tests).",
|
|
"ci:php:fixer": "Checks the code style with PHP CS Fixer.",
|
|
"ci:php:lint": "Lints the PHP files for syntax errors.",
|
|
"ci:php:md": "Checks the code complexity with PHPMD.",
|
|
"ci:php:psalm": "Checks the types with Psalm.",
|
|
"ci:php:sniff": "Checks the code style with PHP_CodeSniffer.",
|
|
"ci:static": "Runs all static code analysis checks for the code and the composer.json.",
|
|
"ci:tests": "Runs all dynamic tests (i.e., currently, the unit tests).",
|
|
"ci:tests:sof": "Runs the unit tests and stops at the first failure.",
|
|
"ci:tests:unit": "Runs all unit tests.",
|
|
"composer:normalize": "Reformats and sorts the composer.json file.",
|
|
"php:fix": "Reformats the code with php-cs-fixer.",
|
|
"php:version": "Outputs the installed PHP version.",
|
|
"psalm:baseline": "Updates the Psalm baseline file to match the code.",
|
|
"psalm:cc": "Clears the Psalm cache."
|
|
},
|
|
"support": {
|
|
"issues": "https://github.com/MyIntervals/emogrifier/issues",
|
|
"source": "https://github.com/MyIntervals/emogrifier"
|
|
}
|
|
}
|