package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "@astrojs/mdx",
  3. "description": "Add support for MDX pages in your Astro site",
  4. "version": "2.1.1",
  5. "type": "module",
  6. "types": "./dist/index.d.ts",
  7. "author": "withastro",
  8. "license": "MIT",
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/withastro/astro.git",
  12. "directory": "packages/integrations/mdx"
  13. },
  14. "keywords": [
  15. "astro-integration",
  16. "astro-component",
  17. "mdx"
  18. ],
  19. "bugs": "https://github.com/withastro/astro/issues",
  20. "homepage": "https://docs.astro.build/en/guides/integrations-guide/mdx/",
  21. "exports": {
  22. ".": "./dist/index.js",
  23. "./package.json": "./package.json"
  24. },
  25. "files": [
  26. "dist",
  27. "template"
  28. ],
  29. "scripts": {
  30. "build": "astro-scripts build \"src/**/*.ts\" && tsc",
  31. "build:ci": "astro-scripts build \"src/**/*.ts\"",
  32. "dev": "astro-scripts dev \"src/**/*.ts\"",
  33. "test": "astro-scripts test --timeout 50000 \"test/**/*.test.js\""
  34. },
  35. "dependencies": {
  36. "@astrojs/markdown-remark": "workspace:*",
  37. "@mdx-js/mdx": "^3.0.0",
  38. "acorn": "^8.11.2",
  39. "es-module-lexer": "^1.4.1",
  40. "estree-util-visit": "^2.0.0",
  41. "github-slugger": "^2.0.0",
  42. "gray-matter": "^4.0.3",
  43. "hast-util-to-html": "^9.0.0",
  44. "kleur": "^4.1.4",
  45. "rehype-raw": "^7.0.0",
  46. "remark-gfm": "^4.0.0",
  47. "remark-smartypants": "^2.0.0",
  48. "source-map": "^0.7.4",
  49. "unist-util-visit": "^5.0.0",
  50. "vfile": "^6.0.1"
  51. },
  52. "peerDependencies": {
  53. "astro": "^4.0.0"
  54. },
  55. "devDependencies": {
  56. "@types/chai": "^4.3.10",
  57. "@types/estree": "^1.0.5",
  58. "@types/mdast": "^4.0.3",
  59. "@types/mocha": "^10.0.4",
  60. "@types/yargs-parser": "^21.0.3",
  61. "astro": "workspace:*",
  62. "astro-scripts": "workspace:*",
  63. "cheerio": "1.0.0-rc.12",
  64. "linkedom": "^0.16.4",
  65. "mdast-util-mdx": "^3.0.0",
  66. "mdast-util-to-string": "^4.0.0",
  67. "reading-time": "^1.5.0",
  68. "rehype-mathjax": "^5.0.0",
  69. "rehype-pretty-code": "^0.10.2",
  70. "remark-math": "^6.0.0",
  71. "remark-rehype": "^11.0.0",
  72. "remark-shiki-twoslash": "^3.1.3",
  73. "remark-toc": "^9.0.0",
  74. "unified": "^11.0.4",
  75. "vite": "^5.1.2"
  76. },
  77. "engines": {
  78. "node": ">=18.14.1"
  79. },
  80. "publishConfig": {
  81. "provenance": true
  82. }
  83. }