summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/package.json
blob: 29c4b4828d133958bc31a35cfa3e4a83f08e2e69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
  "name": "@astrojs/mdx",
  "description": "Add support for MDX pages in your Astro site",
  "version": "3.1.7",
  "type": "module",
  "types": "./dist/index.d.ts",
  "author": "withastro",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/withastro/astro.git",
    "directory": "packages/integrations/mdx"
  },
  "keywords": [
    "astro-integration",
    "astro-component",
    "mdx"
  ],
  "bugs": "https://github.com/withastro/astro/issues",
  "homepage": "https://docs.astro.build/en/guides/integrations-guide/mdx/",
  "exports": {
    ".": "./dist/index.js",
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "template"
  ],
  "scripts": {
    "build": "astro-scripts build \"src/**/*.ts\" && tsc",
    "build:ci": "astro-scripts build \"src/**/*.ts\"",
    "dev": "astro-scripts dev \"src/**/*.ts\"",
    "test": "astro-scripts test --timeout 70000 \"test/**/*.test.js\""
  },
  "dependencies": {
    "@astrojs/markdown-remark": "workspace:*",
    "@mdx-js/mdx": "^3.0.1",
    "acorn": "^8.12.1",
    "es-module-lexer": "^1.5.4",
    "estree-util-visit": "^2.0.0",
    "gray-matter": "^4.0.3",
    "hast-util-to-html": "^9.0.3",
    "kleur": "^4.1.5",
    "rehype-raw": "^7.0.0",
    "remark-gfm": "^4.0.0",
    "remark-smartypants": "^3.0.2",
    "source-map": "^0.7.4",
    "unist-util-visit": "^5.0.0",
    "vfile": "^6.0.3"
  },
  "peerDependencies": {
    "astro": "^4.8.0"
  },
  "devDependencies": {
    "@types/estree": "^1.0.6",
    "@types/hast": "^3.0.4",
    "@types/mdast": "^4.0.4",
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "cheerio": "1.0.0",
    "linkedom": "^0.18.5",
    "mdast-util-mdx": "^3.0.0",
    "mdast-util-mdx-jsx": "^3.1.3",
    "mdast-util-to-string": "^4.0.0",
    "rehype-mathjax": "^6.0.0",
    "rehype-pretty-code": "^0.14.0",
    "remark-math": "^6.0.0",
    "remark-rehype": "^11.1.1",
    "remark-shiki-twoslash": "^3.1.3",
    "remark-toc": "^9.0.0",
    "shiki": "^1.21.0",
    "unified": "^11.0.5",
    "vite": "^5.4.8"
  },
  "engines": {
    "node": "^18.17.1 || ^20.3.0 || >=21.0.0"
  },
  "publishConfig": {
    "provenance": true
  }
}