{
  "name": "markdown-wysiwyg-editor",
  "version": "0.3.8",
  "description": "Lightweight Markdown WYSIWYG editor with TipTap, Mermaid support",
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./style": "./dist/index.css",
    "./theme": "./dist/theme.css",
    "./dist/index.css": "./dist/index.css"
  },
  "files": ["dist", "README.md", "LICENSE", "CHANGELOG.md"],
  "workspaces": ["example"],
  "scripts": {
    "dev": "bun build --watch ./src/index.ts --outdir ./dist --external react --external react-dom --external mermaid",
    "build": "bun run build:js && bun run build:css && bun run build:bundle && bun run typecheck",
    "build:js": "vite build",
    "build:css": "cp ./src/index.css ./dist/index.css && cp ./src/theme.css ./dist/theme.css",
    "build:bundle": "bunx @tailwindcss/cli -i ./src/bundle.css -o ./dist/bundle.css",
    "typecheck": "tsc --emitDeclarationOnly --declaration --outDir dist",
    "test": "vitest run",
    "test:coverage": "vitest run --coverage",
    "test:watch": "vitest",
    "lint": "biome check .",
    "lint:fix": "biome check --write .",
    "format": "biome format --write .",
    "format:check": "biome format .",
    "verify": "bun run lint && bun run test && bun run build",
    "prepublishOnly": "npm run build && npm run test"
  },
  "keywords": ["markdown", "wysiwyg", "editor", "tiptap", "mermaid", "react", "typescript"],
  "author": "Yuji Noguchi (https://github.com/ugnoguchigxp)",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ugnoguchigxp/markdownWysiwyg.git"
  },
  "license": "MIT",
  "engines": {
    "node": ">=18.0.0"
  },
  "dependencies": {
    "@tiptap/core": "^3.3.0",
    "@tiptap/extension-character-count": "^3.3.0",
    "@tiptap/extension-code-block-lowlight": "^3.3.0",
    "@tiptap/extension-image": "^3.3.0",
    "@tiptap/extension-link": "^3.3.0",
    "@tiptap/extension-placeholder": "^3.3.0",
    "@tiptap/extension-table": "^3.3.0",
    "@tiptap/extension-table-cell": "^3.3.0",
    "@tiptap/extension-table-header": "^3.3.0",
    "@tiptap/extension-table-row": "^3.3.0",
    "@tiptap/extension-typography": "^3.3.0",
    "@tiptap/react": "^3.3.0",
    "@tiptap/starter-kit": "^3.3.0",
    "clsx": "^2.1.1",
    "lowlight": "^3.3.0",
    "prosemirror-state": "^1.4.3",
    "uuid": "^11.0.3"
  },
  "peerDependencies": {
    "mermaid": "^11.0.0",
    "react": "^19.2.3",
    "react-dom": "^19.2.3"
  },
  "peerDependenciesMeta": {
    "mermaid": {
      "optional": true
    }
  },
  "devDependencies": {
    "@biomejs/biome": "^1.9.4",
    "@tailwindcss/cli": "^4.1.18",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.0",
    "@types/bun": "^1.3.5",
    "@types/node": "^22.0.0",
    "@types/react": "^19.0.0",
    "@types/react-dom": "^19.0.0",
    "@types/uuid": "^10.0.0",
    "@vitejs/plugin-react": "^5.1.2",
    "@vitest/coverage-v8": "2.1.9",
    "@vitest/ui": "^4.0.16",
    "jsdom": "^27.2.0",
    "tailwindcss": "^4.1.18",
    "typescript": "^5.6.0",
    "vite": "^7.3.0",
    "vitest": "2.1.9"
  },
  "packageManager": "bun@1.3.5"
}
