package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  3. "bugs": "https://github.com/syntax-tree/mdast-util-from-markdown/issues",
  4. "contributors": [
  5. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  6. ],
  7. "dependencies": {
  8. "@types/mdast": "^4.0.0",
  9. "@types/unist": "^3.0.0",
  10. "decode-named-character-reference": "^1.0.0",
  11. "devlop": "^1.0.0",
  12. "mdast-util-to-string": "^4.0.0",
  13. "micromark": "^4.0.0",
  14. "micromark-util-decode-numeric-character-reference": "^2.0.0",
  15. "micromark-util-decode-string": "^2.0.0",
  16. "micromark-util-normalize-identifier": "^2.0.0",
  17. "micromark-util-symbol": "^2.0.0",
  18. "micromark-util-types": "^2.0.0",
  19. "unist-util-stringify-position": "^4.0.0"
  20. },
  21. "description": "mdast utility to parse markdown",
  22. "devDependencies": {
  23. "@types/node": "^25.0.0",
  24. "c8": "^10.0.0",
  25. "commonmark.json": "^0.31.0",
  26. "esbuild": "^0.27.0",
  27. "gzip-size-cli": "^5.0.0",
  28. "hast-util-from-html": "^2.0.0",
  29. "hast-util-to-html": "^9.0.0",
  30. "mdast-util-to-hast": "^13.0.0",
  31. "micromark-build": "^2.0.0",
  32. "prettier": "^3.0.0",
  33. "remark-cli": "^12.0.0",
  34. "remark-preset-wooorm": "^11.0.0",
  35. "terser": "^5.0.0",
  36. "type-coverage": "^2.0.0",
  37. "typescript": "^5.0.0",
  38. "xo": "^1.0.0"
  39. },
  40. "exports": {
  41. "development": "./dev/index.js",
  42. "default": "./index.js"
  43. },
  44. "files": [
  45. "dev/",
  46. "lib/",
  47. "index.d.ts",
  48. "index.js"
  49. ],
  50. "funding": {
  51. "type": "opencollective",
  52. "url": "https://opencollective.com/unified"
  53. },
  54. "keywords": [
  55. "ast",
  56. "markdown",
  57. "markup",
  58. "mdast-util",
  59. "mdast",
  60. "parse",
  61. "syntax",
  62. "tree",
  63. "unist",
  64. "utility",
  65. "util"
  66. ],
  67. "license": "MIT",
  68. "name": "mdast-util-from-markdown",
  69. "prettier": {
  70. "bracketSpacing": false,
  71. "semi": false,
  72. "singleQuote": true,
  73. "tabWidth": 2,
  74. "trailingComma": "none",
  75. "useTabs": false
  76. },
  77. "remarkConfig": {
  78. "plugins": [
  79. "remark-preset-wooorm"
  80. ]
  81. },
  82. "repository": "syntax-tree/mdast-util-from-markdown",
  83. "scripts": {
  84. "build": "tsc --build --clean && tsc --build && type-coverage && micromark-build && esbuild . --bundle --minify | terser | gzip-size --raw",
  85. "format": "remark --frail --quiet --output -- . && prettier --log-level warn --write -- . && xo --fix",
  86. "test-api-dev": "node --conditions development test/index.js",
  87. "test-api-prod": "node --conditions production test/index.js",
  88. "test-api": "npm run test-api-dev && npm run test-api-prod",
  89. "test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
  90. "test": "npm run build && npm run format && npm run test-coverage"
  91. },
  92. "sideEffects": false,
  93. "typeCoverage": {
  94. "atLeast": 100,
  95. "strict": true
  96. },
  97. "type": "module",
  98. "version": "2.0.3"
  99. }