package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  3. "bugs": "https://github.com/remarkjs/remark-rehype/issues",
  4. "contributors": [
  5. "John Otander <johnotander@gmail.com> (https://johno.com)",
  6. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  7. ],
  8. "dependencies": {
  9. "@types/hast": "^3.0.0",
  10. "@types/mdast": "^4.0.0",
  11. "mdast-util-to-hast": "^13.0.0",
  12. "unified": "^11.0.0",
  13. "vfile": "^6.0.0"
  14. },
  15. "description": "remark plugin that turns markdown into HTML to support rehype",
  16. "devDependencies": {
  17. "@types/node": "^22.0.0",
  18. "c8": "^10.0.0",
  19. "prettier": "^3.0.0",
  20. "rehype-slug": "^6.0.0",
  21. "rehype-stringify": "^10.0.0",
  22. "remark-cli": "^12.0.0",
  23. "remark-parse": "^11.0.0",
  24. "remark-preset-wooorm": "^11.0.0",
  25. "remark-stringify": "^11.0.0",
  26. "type-coverage": "^2.0.0",
  27. "typescript": "^5.0.0",
  28. "xo": "^0.60.0"
  29. },
  30. "exports": "./index.js",
  31. "files": [
  32. "index.d.ts.map",
  33. "index.d.ts",
  34. "index.js",
  35. "lib/"
  36. ],
  37. "funding": {
  38. "type": "opencollective",
  39. "url": "https://opencollective.com/unified"
  40. },
  41. "keywords": [
  42. "hast",
  43. "html",
  44. "markdown",
  45. "mdast",
  46. "plugin",
  47. "rehype-plugin",
  48. "rehype",
  49. "remark-plugin",
  50. "remark",
  51. "unified"
  52. ],
  53. "license": "MIT",
  54. "name": "remark-rehype",
  55. "prettier": {
  56. "bracketSpacing": false,
  57. "singleQuote": true,
  58. "semi": false,
  59. "tabWidth": 2,
  60. "trailingComma": "none",
  61. "useTabs": false
  62. },
  63. "remarkConfig": {
  64. "plugins": [
  65. "remark-preset-wooorm"
  66. ]
  67. },
  68. "repository": "remarkjs/remark-rehype",
  69. "scripts": {
  70. "build": "tsc --build --clean && tsc --build && type-coverage",
  71. "format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
  72. "test-api": "node --conditions development test.js",
  73. "test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
  74. "test": "npm run build && npm run format && npm run test-coverage"
  75. },
  76. "sideEffects": false,
  77. "typeCoverage": {
  78. "atLeast": 100,
  79. "strict": true
  80. },
  81. "type": "module",
  82. "version": "11.1.2",
  83. "xo": {
  84. "prettier": true
  85. }
  86. }