package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. {
  2. "author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
  3. "bugs": "https://github.com/remarkjs/react-markdown/issues",
  4. "contributors": [
  5. "Alexander Wallin <office@alexanderwallin.com>",
  6. "Alexander Wong <admin@alexander-wong.com>",
  7. "André Staltz <andre@staltz.com>",
  8. "Angus MacIsaac <angus.macisaac@busbud.com>",
  9. "Beau Roberts <beau.roberts@autodesk.com>",
  10. "Charlie Chen <doveccl@live.com>",
  11. "Christian Murphy <christian.murphy.42@gmail.com>",
  12. "Christoph Werner <christoph@codepunkt.de>",
  13. "Danny <dannyharding10@gmail.com>",
  14. "Dennis S <denis.s@svsg.co>",
  15. "Espen Hovlandsdal <espen@hovlandsdal.com>",
  16. "Evan Hensleigh <futuraprime@gmail.com>",
  17. "Fabian Irsara <info@fabianirsara.com>",
  18. "Florentin Luca Rieger <florentin.rieger@gmail.com>",
  19. "Frank <frankieali4@gmail.com>",
  20. "Igor Kamyshev <garik.novel@gmail.com>",
  21. "Jack Williams <jsw547@gmail.com>",
  22. "Jakub Chrzanowski <jakub@chrzanowski.info>",
  23. "Jeremy Moseley <jeremy@jeremymoseley.net>",
  24. "Jesse Pinho <jesse@jessepinho.com>",
  25. "Kelvin Chan <kchan@securitycompass.com>",
  26. "Kohei Asai <me@axross.io>",
  27. "Linus Unnebäck <linus@folkdatorn.se>",
  28. "Marshall Smith <marshall@radialdevgroup.com>",
  29. "Nathan Bierema <nbierema@gmail.com>",
  30. "Nicolas Venegas <nvenegas@atlassian.com>",
  31. "Peng Guanwen <pg999w@outlook.com>",
  32. "Petr Gazarov <petrgazarov@gmail.com>",
  33. "Phil Rajchgot <tophil@outlook.com>",
  34. "Rasmus Eneman <rasmus@eneman.eu>",
  35. "René Kooi <renee@kooi.me>",
  36. "Riku Rouvila <riku.rouvila@gmail.com>",
  37. "Robin Wieruch <wrobin@gmx.net>",
  38. "Rostyslav Melnychuk <blackswordgc@gmail.com>",
  39. "Ted Piotrowski <tppiotrowski@gmail.com>",
  40. "Thibaud Courtoison <do.not.press.enter@gmail.com>",
  41. "Thomas Lindstrøm <t@hom.as>",
  42. "Tiago Roldão <focus5.6@gmail.com>",
  43. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  44. "cerkiewny <mstarzycki@gmail.com>",
  45. "evoye <rosej@gmx.net>",
  46. "gRoberts84 <gavin@gav-roberts.co.uk>",
  47. "mudrz <mudrz@outlook.com>",
  48. "vanchagreen <vanchagreen@gmail.com>"
  49. ],
  50. "dependencies": {
  51. "@types/hast": "^3.0.0",
  52. "@types/mdast": "^4.0.0",
  53. "devlop": "^1.0.0",
  54. "hast-util-to-jsx-runtime": "^2.0.0",
  55. "html-url-attributes": "^3.0.0",
  56. "mdast-util-to-hast": "^13.0.0",
  57. "remark-parse": "^11.0.0",
  58. "remark-rehype": "^11.0.0",
  59. "unified": "^11.0.0",
  60. "unist-util-visit": "^5.0.0",
  61. "vfile": "^6.0.0"
  62. },
  63. "description": "React component to render markdown",
  64. "devDependencies": {
  65. "@testing-library/react": "^16.0.0",
  66. "@types/node": "^22.0.0",
  67. "@types/react": "^19.0.0",
  68. "@types/react-dom": "^19.0.0",
  69. "c8": "^10.0.0",
  70. "concat-stream": "^2.0.0",
  71. "esbuild": "^0.25.0",
  72. "eslint-plugin-react": "^7.0.0",
  73. "global-jsdom": "^26.0.0",
  74. "prettier": "^3.0.0",
  75. "react": "^19.0.0",
  76. "react-dom": "^19.0.0",
  77. "rehype-raw": "^7.0.0",
  78. "rehype-starry-night": "^2.0.0",
  79. "remark-cli": "^12.0.0",
  80. "remark-gfm": "^4.0.0",
  81. "remark-preset-wooorm": "^11.0.0",
  82. "remark-toc": "^9.0.0",
  83. "type-coverage": "^2.0.0",
  84. "typescript": "^5.0.0",
  85. "xo": "^0.60.0"
  86. },
  87. "exports": "./index.js",
  88. "files": [
  89. "index.d.ts.map",
  90. "index.d.ts",
  91. "index.js",
  92. "lib/"
  93. ],
  94. "funding": {
  95. "type": "opencollective",
  96. "url": "https://opencollective.com/unified"
  97. },
  98. "keywords": [
  99. "ast",
  100. "commonmark",
  101. "component",
  102. "gfm",
  103. "markdown",
  104. "react",
  105. "react-component",
  106. "remark",
  107. "unified"
  108. ],
  109. "license": "MIT",
  110. "name": "react-markdown",
  111. "peerDependencies": {
  112. "@types/react": ">=18",
  113. "react": ">=18"
  114. },
  115. "prettier": {
  116. "bracketSpacing": false,
  117. "singleQuote": true,
  118. "semi": false,
  119. "tabWidth": 2,
  120. "trailingComma": "none",
  121. "useTabs": false
  122. },
  123. "remarkConfig": {
  124. "plugins": [
  125. "remark-preset-wooorm",
  126. [
  127. "remark-lint-no-html",
  128. false
  129. ]
  130. ]
  131. },
  132. "repository": "remarkjs/react-markdown",
  133. "scripts": {
  134. "build": "tsc --build --clean && tsc --build && type-coverage",
  135. "format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
  136. "test-api": "node --conditions development --experimental-loader=./script/load-jsx.js --no-warnings test.jsx",
  137. "test-coverage": "c8 --100 --exclude script/ --reporter lcov -- npm run test-api",
  138. "test": "npm run build && npm run format && npm run test-coverage"
  139. },
  140. "sideEffects": false,
  141. "typeCoverage": {
  142. "atLeast": 100,
  143. "strict": true
  144. },
  145. "type": "module",
  146. "version": "10.1.0",
  147. "xo": {
  148. "envs": [
  149. "shared-node-browser"
  150. ],
  151. "extends": "plugin:react/jsx-runtime",
  152. "overrides": [
  153. {
  154. "files": [
  155. "**/*.jsx"
  156. ],
  157. "rules": {
  158. "no-unused-vars": "off"
  159. }
  160. }
  161. ],
  162. "prettier": true,
  163. "rules": {
  164. "complexity": "off",
  165. "n/file-extension-in-import": "off",
  166. "unicorn/prevent-abbreviations": "off"
  167. }
  168. }
  169. }