{
  "name": "@create-markdown/preview",
  "version": "2.0.3",
  "description": "Framework-agnostic HTML rendering for @create-markdown with optional syntax highlighting",
  "author": "Val Alexander <val@viewdue.ai>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/BunsDev/create-markdown",
    "directory": "packages/preview"
  },
  "homepage": "https://github.com/BunsDev/create-markdown/tree/main/packages/preview",
  "bugs": {
    "url": "https://github.com/BunsDev/create-markdown/issues"
  },
  "keywords": [
    "markdown",
    "preview",
    "html",
    "shiki",
    "web-component",
    "typescript"
  ],
  "type": "module",
  "sideEffects": [
    "**/*.css"
  ],
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./web-component": {
      "import": {
        "types": "./dist/web-component.d.ts",
        "default": "./dist/web-component.js"
      }
    },
    "./themes/github.css": "./dist/themes/github.css",
    "./themes/github-dark.css": "./dist/themes/github-dark.css",
    "./themes/minimal.css": "./dist/themes/minimal.css",
    "./themes/system.css": "./dist/themes/system.css",
    "./themes": {
      "import": {
        "types": "./dist/themes/css-strings.d.ts",
        "default": "./dist/themes/css-strings.js"
      },
      "require": {
        "types": "./dist/themes/css-strings.d.ts",
        "default": "./dist/themes/css-strings.cjs"
      }
    }
  },
  "files": [
    "dist"
  ],
  "devDependencies": {
    "shiki": "^4.0.2",
    "typescript": "^6.0.2",
    "vite": "7.1.11",
    "vitest": "^4.1.2",
    "@create-markdown/core": "^2.0.3"
  },
  "peerDependencies": {
    "@create-markdown/core": ">=2.0.3",
    "shiki": ">=1.0.0"
  },
  "peerDependenciesMeta": {
    "@create-markdown/core": {
      "optional": true
    },
    "shiki": {
      "optional": true
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "scripts": {
    "build": "pnpm run build:theme-strings && pnpm run build:js && pnpm run build:types && pnpm run build:css",
    "build:theme-strings": "tsx scripts/generate-css-strings.ts",
    "build:js": "tsup --config tsup.config.ts",
    "build:types": "tsc --emitDeclarationOnly --declaration --outDir dist",
    "build:css": "mkdir -p dist/themes && cp -f src/themes/*.css dist/themes/",
    "dev": "pnpm run build:theme-strings && tsup --config tsup.config.ts --watch",
    "clean": "rm -rf dist",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:watch": "vitest"
  }
}