{
  "name": "ai-app-feedback",
  "version": "0.1.0",
  "description": "A Next.js-ready feedback widget that captures user reports, navigation context, screenshots, and AI-agent triage prompts.",
  "license": "MIT",
  "author": "dazuaz",
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./next": {
      "types": "./dist/next.d.ts",
      "import": "./dist/next.js"
    },
    "./core": {
      "types": "./dist/core-entry.d.ts",
      "import": "./dist/core-entry.js"
    },
    "./style.css": "./dist/style.css"
  },
  "files": [
    "dist",
    "README.md",
    "PRODUCT.md"
  ],
  "sideEffects": [
    "./dist/style.css"
  ],
  "scripts": {
    "build": "bun build ./src/index.ts ./src/next.tsx ./src/core-entry.ts --outdir ./dist --target browser --format esm --external react --external react-dom --external next/navigation && bun build ./src/style.css --outdir ./dist && tsc -p tsconfig.build.json",
    "test": "bun test",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "bun run typecheck && bun test && bun run build"
  },
  "devDependencies": {
    "@happy-dom/global-registrator": "^20.10.2",
    "@testing-library/react": "^16.3.2",
    "@types/bun": "latest",
    "@types/react": "^19.2.7",
    "@types/react-dom": "^19.2.3",
    "react": "^19.2.0",
    "react-dom": "^19.2.0"
  },
  "peerDependencies": {
    "next": ">=14.2.0 <17",
    "react": ">=18.2.0 <20",
    "react-dom": ">=18.2.0 <20",
    "typescript": "^5"
  },
  "peerDependenciesMeta": {
    "next": {
      "optional": true
    }
  }
}
