@svelte-dev/pretty-code
Version:
Beautiful Svelte code blocks for Markdown or MDsveX.
55 lines (54 loc) • 1.2 kB
JSON
{
"name": "@svelte-dev/pretty-code",
"version": "1.0.0",
"author": "Willin Wang <willin@willin.org> (https://willin.wang/)",
"description": "Beautiful Svelte code blocks for Markdown or MDsveX.",
"main": "./dist/index.js",
"keywords": [
"svelte",
"highlight",
"rehype",
"md",
"mdsvex"
],
"repository": {
"type": "git",
"url": "git+https://github.com/willin/svelte-pretty-code.git"
},
"bugs": {
"url": "https://github.com/willin/svelte-pretty-code/issues"
},
"homepage": "https://pretty-code.js.cool",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"dependencies": {
"rehype-pretty-code": "^0.12.1",
"rehype-stringify": "^10.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"unified": "^11.0.4"
},
"devDependencies": {
"typescript": "^5.3.2"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"LICENSE",
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"scripts": {
"build": "tsc"
},
"type": "module",
"types": "./dist/index.d.ts"
}