16b8364119
* feat: prism and shiki support, with better exports! * chore: update tests * chore: fix lock * chore: add prism test * chore: remove `async` from prism * docs: update syntax highlight readme * chore: changeset * edit: remove `await` from prism docs * chore: update old changest with new shiki instructions * fix: add trailing newline on ts-expect-error * refactor: resolve promises internally * docs: remove `await` from shiki examples
73 lines
2 KiB
JSON
73 lines
2 KiB
JSON
{
|
|
"name": "@astrojs/markdoc",
|
|
"description": "Add support for Markdoc in your Astro site",
|
|
"version": "0.2.3",
|
|
"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": "./dist/extensions/prism.js",
|
|
"./shiki": "./dist/extensions/shiki.js",
|
|
".": "./dist/index.js",
|
|
"./components": "./components/index.ts",
|
|
"./runtime": "./dist/runtime.js",
|
|
"./config": "./dist/config.js",
|
|
"./experimental-assets-config": "./dist/experimental-assets-config.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"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.5.5"
|
|
},
|
|
"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"
|
|
}
|
|
}
|