composer.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "pelago/emogrifier",
  3. "description": "Converts CSS styles into inline style attributes in your HTML code",
  4. "keywords": [
  5. "email",
  6. "css",
  7. "pre-processing"
  8. ],
  9. "homepage": "https://www.myintervals.com/emogrifier.php",
  10. "license": "MIT",
  11. "authors": [
  12. {
  13. "name": "Oliver Klee",
  14. "email": "github@oliverklee.de"
  15. },
  16. {
  17. "name": "Zoli Szabó",
  18. "email": "zoli.szabo+github@gmail.com"
  19. },
  20. {
  21. "name": "John Reeve",
  22. "email": "jreeve@pelagodesign.com"
  23. },
  24. {
  25. "name": "Jake Hotson",
  26. "email": "jake@qzdesign.co.uk"
  27. },
  28. {
  29. "name": "Cameron Brooks"
  30. },
  31. {
  32. "name": "Jaime Prado"
  33. }
  34. ],
  35. "support": {
  36. "issues": "https://github.com/MyIntervals/emogrifier/issues",
  37. "source": "https://github.com/MyIntervals/emogrifier"
  38. },
  39. "require": {
  40. "php": "^5.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0",
  41. "ext-dom": "*",
  42. "ext-libxml": "*",
  43. "symfony/css-selector": "^3.4.0 || ^4.0.0"
  44. },
  45. "require-dev": {
  46. "friendsofphp/php-cs-fixer": "^2.2.0",
  47. "squizlabs/php_codesniffer": "^3.3.2",
  48. "phpmd/phpmd": "^2.6.0",
  49. "phpunit/phpunit": "^4.8.0"
  50. },
  51. "autoload": {
  52. "psr-4": {
  53. "Pelago\\": "src/"
  54. }
  55. },
  56. "autoload-dev": {
  57. "psr-4": {
  58. "Pelago\\Tests\\": "tests/"
  59. }
  60. },
  61. "prefer-stable": true,
  62. "config": {
  63. "preferred-install": {
  64. "*": "dist"
  65. }
  66. },
  67. "scripts": {
  68. "php:version": "php -v | grep -Po 'PHP\\s++\\K(?:\\d++\\.)*+\\d++(?:-\\w++)?+'",
  69. "php:fix": "php-cs-fixer --config=config/php-cs-fixer.php fix config/ src/ tests/",
  70. "ci:php:lint": "find config src tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l",
  71. "ci:php:sniff": "phpcs config src tests",
  72. "ci:php:md": "phpmd src text config/phpmd.xml",
  73. "ci:tests:unit": "phpunit tests/",
  74. "ci:tests": [
  75. "@ci:tests:unit"
  76. ],
  77. "ci:dynamic": [
  78. "@ci:tests"
  79. ],
  80. "ci:static": [
  81. "@ci:php:lint",
  82. "@ci:php:sniff",
  83. "@ci:php:md"
  84. ],
  85. "ci": [
  86. "@ci:static",
  87. "@ci:dynamic"
  88. ]
  89. },
  90. "extra": {
  91. "branch-alias": {
  92. "dev-master": "3.0.x-dev"
  93. }
  94. }
  95. }