You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
3.6 KiB

3 years ago
  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. "forum": "https://github.com/thephpleague/commonmark/discussions",
  19. "issues": "https://github.com/thephpleague/commonmark/issues",
  20. "rss": "https://github.com/thephpleague/commonmark/releases.atom",
  21. "source": "https://github.com/thephpleague/commonmark"
  22. },
  23. "require": {
  24. "php": "^7.4 || ^8.0",
  25. "ext-mbstring": "*",
  26. "league/config": "^1.1",
  27. "psr/event-dispatcher": "^1.0",
  28. "symfony/polyfill-php80": "^1.15"
  29. },
  30. "require-dev": {
  31. "ext-json": "*",
  32. "cebe/markdown": "^1.0",
  33. "commonmark/cmark": "0.30.0",
  34. "commonmark/commonmark.js": "0.30.0",
  35. "composer/package-versions-deprecated": "^1.8",
  36. "erusev/parsedown": "^1.0",
  37. "github/gfm": "0.29.0",
  38. "michelf/php-markdown": "^1.4",
  39. "phpstan/phpstan": "^0.12.88",
  40. "phpunit/phpunit": "^9.5.5",
  41. "scrutinizer/ocular": "^1.8.1",
  42. "symfony/finder": "^5.3",
  43. "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0",
  44. "unleashedtech/php-coding-standard": "^3.1",
  45. "vimeo/psalm": "^4.7.3"
  46. },
  47. "minimum-stability": "dev",
  48. "prefer-stable": true,
  49. "suggest": {
  50. "symfony/yaml": "v2.3+ required if using the Front Matter extension"
  51. },
  52. "repositories": [
  53. {
  54. "type": "package",
  55. "package": {
  56. "name": "commonmark/commonmark.js",
  57. "version": "0.30.0",
  58. "dist": {
  59. "url": "https://github.com/commonmark/commonmark.js/archive/0.30.0.zip",
  60. "type": "zip"
  61. }
  62. }
  63. },
  64. {
  65. "type": "package",
  66. "package": {
  67. "name": "commonmark/cmark",
  68. "version": "0.30.0",
  69. "dist": {
  70. "url": "https://github.com/commonmark/cmark/archive/0.30.0.zip",
  71. "type": "zip"
  72. }
  73. }
  74. },
  75. {
  76. "type": "package",
  77. "package": {
  78. "name": "github/gfm",
  79. "version": "0.29.0",
  80. "dist": {
  81. "url": "https://github.com/github/cmark-gfm/archive/0.29.0.gfm.0.zip",
  82. "type": "zip"
  83. }
  84. }
  85. }
  86. ],
  87. "autoload": {
  88. "psr-4": {
  89. "League\\CommonMark\\": "src"
  90. }
  91. },
  92. "autoload-dev": {
  93. "psr-4": {
  94. "League\\CommonMark\\Tests\\Unit\\": "tests/unit",
  95. "League\\CommonMark\\Tests\\Functional\\": "tests/functional"
  96. }
  97. },
  98. "scripts": {
  99. "phpcs": "phpcs",
  100. "phpstan": "phpstan analyse",
  101. "phpunit": "phpunit --no-coverage",
  102. "psalm": "psalm",
  103. "test": [
  104. "@phpcs",
  105. "@phpstan",
  106. "@psalm",
  107. "@phpunit"
  108. ]
  109. },
  110. "extra": {
  111. "branch-alias": {
  112. "dev-main": "2.1-dev"
  113. }
  114. },
  115. "config": {
  116. "sort-packages": true
  117. }
  118. }