UNPKG

@humanspeak/svelte-markdown

Version:

A powerful, customizable markdown renderer for Svelte with TypeScript support

130 lines (129 loc) 3.92 kB
{ "name": "@humanspeak/svelte-markdown", "version": "0.8.9", "description": "A powerful, customizable markdown renderer for Svelte with TypeScript support", "keywords": [ "svelte", "markdown", "renderer", "parser", "marked", "component", "sveltekit", "svelte5", "md", "documentation", "html", "converter", "formatting" ], "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/**/*" ], "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", "format": "prettier --write .", "lint": "prettier --check . && eslint .", "lint:fix": "npm run format && eslint . --fix", "package": "svelte-kit sync && svelte-package && publint", "prepublishOnly": "npm run package", "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" }, "overrides": { "@sveltejs/kit": { "cookie": "^0.7.0" } }, "dependencies": { "github-slugger": "^2.0.0", "htmlparser2": "^10.0.0", "marked": "^16.1.1" }, "devDependencies": { "@eslint/compat": "^1.3.1", "@eslint/js": "^9.32.0", "@playwright/test": "^1.54.1", "@sveltejs/adapter-auto": "^6.0.1", "@sveltejs/kit": "^2.26.1", "@sveltejs/package": "^2.4.0", "@sveltejs/vite-plugin-svelte": "^6.1.0", "@testing-library/jest-dom": "^6.6.4", "@testing-library/svelte": "^5.2.8", "@testing-library/user-event": "^14.6.1", "@types/node": "^24.1.0", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.32.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", "eslint-plugin-svelte": "^3.11.0", "eslint-plugin-unused-imports": "^4.1.4", "globals": "^16.3.0", "jsdom": "^26.1.0", "prettier": "^3.6.2", "prettier-plugin-organize-imports": "^4.2.0", "prettier-plugin-svelte": "^3.4.0", "prettier-plugin-tailwindcss": "^0.6.14", "publint": "^0.3.12", "svelte": "^5.37.0", "svelte-check": "^4.3.0", "typescript": "^5.8.3", "typescript-eslint": "^8.38.0", "vite": "^7.0.6", "vitest": "^3.2.4" }, "peerDependencies": { "svelte": "^5.0.0" }, "volta": { "node": "22.17.1" }, "publishConfig": { "access": "public" }, "tags": [ "svelte", "markdown" ] }