@humanspeak/svelte-markdown
Version:
Fast, customizable markdown renderer for Svelte with built-in caching, TypeScript support, and Svelte 5 runes
141 lines • 3.91 kB
JSON
{
"name": "@humanspeak/svelte-markdown",
"version": "0.8.14",
"description": "Fast, customizable markdown renderer for Svelte with built-in caching, TypeScript support, and Svelte 5 runes",
"keywords": [
"svelte",
"svelte5",
"sveltekit",
"markdown",
"renderer",
"parser",
"fast",
"performance",
"cache",
"caching",
"marked",
"component",
"typescript",
"runes",
"md",
"documentation",
"html",
"converter",
"formatting",
"customizable",
"extensible"
],
"homepage": "https://markdown.svelte.page",
"bugs": {
"url": "https://github.com/humanspeak/svelte-markdown/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/humanspeak/svelte-markdown.git"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/humanspeak"
},
"license": "MIT",
"author": "Humanspeak, Inc.",
"sideEffects": [
"**/*.css"
],
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
}
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*",
"!dist/test/**/*"
],
"overrides": {
"@sveltejs/kit": {
"cookie": "^0.7.0"
}
},
"dependencies": {
"@humanspeak/memory-cache": "^1.0.2",
"github-slugger": "^2.0.0",
"htmlparser2": "^10.0.0",
"marked": "^17.0.1"
},
"devDependencies": {
"@eslint/compat": "^2.0.0",
"@eslint/js": "^9.39.2",
"@playwright/test": "^1.57.0",
"@sveltejs/adapter-auto": "^7.0.0",
"@sveltejs/kit": "^2.49.3",
"@sveltejs/package": "^2.5.7",
"@sveltejs/vite-plugin-svelte": "^6.2.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/svelte": "^5.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.0.3",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.52.0",
"@vitest/coverage-v8": "^4.0.16",
"concurrently": "^9.2.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-svelte": "^3.13.1",
"eslint-plugin-unused-imports": "^4.3.0",
"globals": "^17.0.0",
"husky": "^9.1.7",
"jsdom": "^27.4.0",
"prettier": "^3.7.4",
"prettier-plugin-organize-imports": "^4.3.0",
"prettier-plugin-svelte": "^3.4.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"publint": "^0.3.16",
"svelte": "^5.46.1",
"svelte-check": "^4.3.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0",
"vite": "^7.3.1",
"vitest": "^4.0.16"
},
"peerDependencies": {
"svelte": "^5.0.0"
},
"volta": {
"node": "24.12.0"
},
"publishConfig": {
"access": "public"
},
"tags": [
"svelte",
"markdown"
],
"scripts": {
"build": "vite build && npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "vite dev",
"dev:all": "concurrently -k -n pkg,docs -c green,cyan \"pnpm -w -r --filter @humanspeak/svelte-motion run dev:pkg\" \"pnpm --filter docs run dev\"",
"dev:pkg": "svelte-kit sync && svelte-package --watch",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"lint:fix": "npm run format && eslint . --fix",
"package": "svelte-kit sync && svelte-package && publint",
"preview": "vite preview",
"test": "vitest run --coverage",
"test:all": "npm run test && npm run test:e2e",
"test:e2e": "playwright test",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report",
"test:e2e:ui": "playwright test --ui",
"test:only": "vitest run",
"test:watch": "vitest"
}
}