{
  "name": "nostr-editor",
  "version": "1.2.0",
  "type": "module",
  "homepage": "https://cesardeazevedo.github.io/nostr-editor/",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/cesardeazevedo/nostr-editor"
  },
  "files": [
    "dist",
    "src"
  ],
  "main": "./dist/nostr-editor.umd.cjs",
  "module": "./dist/nostr-editor.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "default": "./dist/nostr-editor.js",
      "types": "./dist/index.d.ts"
    }
  },
  "scripts": {
    "dev": "vite",
    "lint": "eslint src",
    "build": "tsc && vite build",
    "type-check": "tsc --noEmit",
    "format": "prettier --write .",
    "test": "vitest",
    "preview": "vite preview",
    "prepare": "npm run build"
  },
  "devDependencies": {
    "@eslint/js": "^9.9.1",
    "@tiptap/extension-document": "^2.6.6",
    "@tiptap/extension-hard-break": "^2.6.6",
    "@tiptap/extension-image": "^2.6.6",
    "@tiptap/extension-paragraph": "^2.6.6",
    "@tiptap/extension-text": "^2.6.6",
    "@tiptap/extension-youtube": "^2.6.6",
    "@tiptap/starter-kit": "^2.6.6",
    "@types/node": "^22.13.0",
    "eslint": "~9.7.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.2.1",
    "globals": "^15.9.0",
    "happy-dom": "^15.0.0",
    "prettier": "^3.3.3",
    "prosemirror-view": "^1.39.3",
    "rollup-plugin-peer-deps-external": "^2.2.4",
    "rollup-plugin-visualizer": "^5.12.0",
    "typescript": "^5.5.4",
    "typescript-eslint": "^8.3.0",
    "vite": "^5.4.2",
    "vite-plugin-dts": "^4.0.3",
    "vitest": "^2.0.5"
  },
  "engines": {
    "node": ">=18.16.1"
  },
  "peerDependencies": {
    "@tiptap/core": "^2.6.6",
    "@tiptap/extension-image": "^2.6.6",
    "@tiptap/extension-link": "^2.6.6",
    "@tiptap/pm": "^2.6.6",
    "linkifyjs": "^4.1.3",
    "nostr-tools": "~2.14.2",
    "prosemirror-markdown": "^1.13.0",
    "prosemirror-model": "^1.22.3",
    "prosemirror-state": "^1.4.3",
    "prosemirror-view": "^1.39.3",
    "tiptap-markdown": "^0.8.10"
  },
  "dependencies": {
    "js-base64": "^3.7.7",
    "light-bolt11-decoder": "^3.1.1"
  }
}
