composer.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "league/commonmark",
  3. "type": "library",
  4. "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Markdown (GFM)",
  5. "keywords": ["markdown","parser","commonmark","gfm","github","flavored","github-flavored","md"],
  6. "homepage": "https://commonmark.thephpleague.com",
  7. "license": "BSD-3-Clause",
  8. "authors": [
  9. {
  10. "name": "Colin O'Dell",
  11. "email": "colinodell@gmail.com",
  12. "homepage": "https://www.colinodell.com",
  13. "role": "Lead Developer"
  14. }
  15. ],
  16. "support": {
  17. "docs": "https://commonmark.thephpleague.com/",
  18. "issues": "https://github.com/thephpleague/commonmark/issues",
  19. "rss": "https://github.com/thephpleague/commonmark/releases.atom",
  20. "source": "https://github.com/thephpleague/commonmark"
  21. },
  22. "require": {
  23. "php": "^7.1 || ^8.0",
  24. "ext-mbstring": "*"
  25. },
  26. "require-dev": {
  27. "ext-json": "*",
  28. "cebe/markdown": "~1.0",
  29. "commonmark/commonmark.js": "0.29.2",
  30. "erusev/parsedown": "~1.0",
  31. "github/gfm": "0.29.0",
  32. "michelf/php-markdown": "~1.4",
  33. "mikehaertl/php-shellcommand": "^1.4",
  34. "phpstan/phpstan": "^0.12",
  35. "phpunit/phpunit": "^7.5 || ^8.5 || ^9.2",
  36. "scrutinizer/ocular": "^1.5",
  37. "symfony/finder": "^4.2"
  38. },
  39. "minimum-stability": "dev",
  40. "prefer-stable": true,
  41. "conflict": {
  42. "scrutinizer/ocular": "1.7.*"
  43. },
  44. "repositories": [
  45. {
  46. "type": "package",
  47. "package": {
  48. "name": "commonmark/commonmark.js",
  49. "version": "0.29.2",
  50. "dist": {
  51. "url": "https://github.com/commonmark/commonmark.js/archive/0.29.2.zip",
  52. "type": "zip"
  53. }
  54. }
  55. },
  56. {
  57. "type": "package",
  58. "package": {
  59. "name": "github/gfm",
  60. "version": "0.29.0",
  61. "dist": {
  62. "url": "https://github.com/github/cmark-gfm/archive/0.29.0.gfm.0.zip",
  63. "type": "zip"
  64. }
  65. }
  66. }
  67. ],
  68. "autoload": {
  69. "psr-4": {
  70. "League\\CommonMark\\": "src"
  71. }
  72. },
  73. "autoload-dev": {
  74. "psr-4": {
  75. "League\\CommonMark\\Tests\\Unit\\": "tests/unit",
  76. "League\\CommonMark\\Tests\\Functional\\": "tests/functional"
  77. }
  78. },
  79. "bin": ["bin/commonmark"],
  80. "scripts": {
  81. "phpstan": "phpstan analyse",
  82. "phpunit": "phpunit --no-coverage",
  83. "test": [
  84. "@phpstan",
  85. "@phpunit"
  86. ]
  87. },
  88. "config": {
  89. "sort-packages": true
  90. }
  91. }