summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/package.json
blob: cee6c3584b1e62a37f1f4b94576a82ba8f7f95b1 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
  "name": "@astrojs/markdoc",
  "description": "Add support for Markdoc in your Astro site",
  "version": "0.3.2",
  "type": "module",
  "types": "./dist/index.d.ts",
  "author": "withastro",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/withastro/astro.git",
    "directory": "packages/integrations/markdoc"
  },
  "keywords": [
    "astro-integration",
    "astro-component",
    "markdoc"
  ],
  "bugs": "https://github.com/withastro/astro/issues",
  "homepage": "https://docs.astro.build/en/guides/integrations-guide/markdoc/",
  "exports": {
    "./prism": {
      "types": "./dist/extensions/prism.d.ts",
      "node": "./dist/extensions/prism.js"
    },
    "./shiki": {
      "types": "./dist/extensions/shiki.d.ts",
      "node": "./dist/extensions/shiki.js"
    },
    "./config": {
      "types": "./dist/config.d.ts",
      "node": "./dist/config.js"
    },
    ".": "./dist/index.js",
    "./components": "./components/index.ts",
    "./runtime": "./dist/runtime.js",
    "./experimental-assets-config": "./dist/experimental-assets-config.js",
    "./package.json": "./package.json"
  },
  "typesVersions": {
    "*": {
      "config": [
        "./dist/config.d.ts"
      ],
      "prism": [
        "./dist/extensions/prism.d.ts"
      ],
      "shiki": [
        "./dist/extensions/shiki.d.ts"
      ]
    }
  },
  "files": [
    "components",
    "dist",
    "template"
  ],
  "scripts": {
    "build": "astro-scripts build \"src/**/*.ts\" && tsc",
    "build:ci": "astro-scripts build \"src/**/*.ts\"",
    "dev": "astro-scripts dev \"src/**/*.ts\"",
    "test": "mocha --exit --timeout 20000",
    "test:match": "mocha --timeout 20000 -g"
  },
  "dependencies": {
    "shiki": "^0.14.1",
    "@astrojs/prism": "^2.1.2",
    "@markdoc/markdoc": "^0.3.0",
    "esbuild": "^0.17.12",
    "github-slugger": "^2.0.0",
    "gray-matter": "^4.0.3",
    "kleur": "^4.1.5",
    "zod": "^3.17.3"
  },
  "peerDependencies": {
    "astro": "workspace:^2.6.1"
  },
  "devDependencies": {
    "@astrojs/markdown-remark": "^2.2.1",
    "@types/chai": "^4.3.1",
    "@types/html-escaper": "^3.0.0",
    "@types/mocha": "^9.1.1",
    "astro": "workspace:*",
    "astro-scripts": "workspace:*",
    "chai": "^4.3.6",
    "devalue": "^4.2.0",
    "linkedom": "^0.14.12",
    "mocha": "^9.2.2",
    "rollup": "^3.20.1",
    "vite": "^4.3.1"
  },
  "engines": {
    "node": ">=16.12.0"
  }
}