astro-expressive-code
Version:
Astro integration for Expressive Code, a modular syntax highlighting & annotation engine for presenting source code on the web. Offers full VS Code theme support, editor & terminal frames, copy to clipboard, text markers, collapsible sections, and more.
66 lines • 1.79 kB
JSON
{
"name": "astro-expressive-code",
"version": "0.41.5",
"description": "Astro integration for Expressive Code, a modular syntax highlighting & annotation engine for presenting source code on the web. Offers full VS Code theme support, editor & terminal frames, copy to clipboard, text markers, collapsible sections, and more.",
"keywords": [
"astro-integration",
"code-blocks",
"documentation",
"expressive-code",
"shiki",
"syntax-highlighting",
"withastro"
],
"author": "Tibor Schiemann",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/expressive-code/expressive-code.git",
"directory": "packages/astro-expressive-code"
},
"type": "module",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./hast": {
"types": "./dist/hast.d.ts",
"default": "./dist/hast.js"
},
"./components": "./components/index.ts"
},
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"hast": [
"dist/hast.d.ts"
]
}
},
"files": [
"dist",
"components",
"virtual.d.ts"
],
"peerDependencies": {
"astro": "^4.0.0-beta || ^5.0.0-beta || ^3.3.0"
},
"dependencies": {
"rehype-expressive-code": "^0.41.5"
},
"devDependencies": {
"astro": "^4.16.18",
"execa": "^7.1.1",
"@internal/test-utils": "^0.2.34"
},
"scripts": {
"build": "tsup ./src/index.ts ./src/hast.ts --format esm --dts --sourcemap --clean",
"coverage": "vitest run --coverage",
"test": "vitest run --reporter verbose",
"test-short": "vitest run --reporter basic",
"test-watch": "vitest --reporter verbose",
"watch": "pnpm build --watch src"
}
}