{
  "name": "@kya-os/consent",
  "version": "0.1.44",
  "description": "Canonical consent page types, styles, and utilities for MCP-I and AgentShield",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/cjs/index.js"
    },
    "./types": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/types/index.js",
      "require": "./dist/cjs/types/index.js"
    },
    "./schemas": {
      "types": "./dist/schemas/index.d.ts",
      "import": "./dist/schemas/index.js",
      "require": "./dist/cjs/schemas/index.js"
    },
    "./constants": {
      "types": "./dist/constants/index.d.ts",
      "import": "./dist/constants/index.js",
      "require": "./dist/cjs/constants/index.js"
    },
    "./styles": {
      "types": "./dist/styles/index.d.ts",
      "import": "./dist/styles/index.js",
      "require": "./dist/cjs/styles/index.js"
    },
    "./resolution": {
      "types": "./dist/resolution/index.d.ts",
      "import": "./dist/resolution/index.js",
      "require": "./dist/cjs/resolution/index.js"
    },
    "./security": {
      "types": "./dist/security/index.d.ts",
      "import": "./dist/security/index.js",
      "require": "./dist/cjs/security/index.js"
    },
    "./templates": {
      "types": "./dist/templates/index.d.ts",
      "import": "./dist/templates/index.js",
      "require": "./dist/cjs/templates/index.js"
    },
    "./components": {
      "types": "./dist/components/index.d.ts",
      "import": "./dist/components/index.js",
      "require": "./dist/cjs/components/index.js"
    },
    "./react": {
      "types": "./dist/react/index.d.ts",
      "import": "./dist/react/index.js",
      "require": "./dist/cjs/react/index.js"
    },
    "./bundle": {
      "types": "./dist/bundle/index.d.ts",
      "import": "./dist/bundle/index.js",
      "require": "./dist/cjs/bundle/index.js"
    },
    "./bundle/shell": {
      "types": "./dist/bundle/shell.d.ts",
      "import": "./dist/bundle/shell.js",
      "require": "./dist/cjs/bundle/shell.js"
    },
    "./bundle/inline": {
      "types": "./dist/bundle/inline.d.ts",
      "import": "./dist/bundle/inline.js",
      "require": "./dist/cjs/bundle/inline.js"
    },
    "./mcp-app": {
      "types": "./dist/mcp-app/index.d.ts",
      "import": "./dist/mcp-app/index.js",
      "require": "./dist/cjs/mcp-app/index.js"
    },
    "./consent.js": "./dist/consent.js",
    "./consent.min.js": "./dist/consent.min.js"
  },
  "scripts": {
    "build": "tsc -p tsconfig.build.json && npm run build:cjs && npm run build:bundle && npm run build:inline && npm run build:mcp-app",
    "build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
    "build:bundle": "esbuild src/bundle/index.ts --bundle --format=esm --target=es2020 --outfile=dist/consent.js && esbuild src/bundle/index.ts --bundle --format=esm --target=es2020 --minify --outfile=dist/consent.min.js",
    "build:inline": "node scripts/generate-inline-bundle.js && tsc src/bundle/inline.ts --declaration --outDir dist/bundle --module esnext --moduleResolution bundler --target es2020",
    "build:mcp-app": "node scripts/generate-mcp-app-bundle.js && tsc src/mcp-app/inline.ts src/mcp-app/index.ts src/mcp-app/types.ts --declaration --outDir dist/mcp-app --module esnext --moduleResolution bundler --target es2020",
    "preview": "npm run build && npx serve -l 3333 .",
    "test": "vitest run",
    "test:coverage": "vitest run --coverage",
    "test:watch": "vitest",
    "lint": "eslint .",
    "format": "prettier --write \"src/**/*.{ts,tsx}\"",
    "clean": "rm -rf dist .turbo node_modules",
    "prepublishOnly": "npm run build && node ../create-mcpi-app/scripts/validate-no-workspace.js"
  },
  "sideEffects": [
    "./src/components/*.ts",
    "./dist/components/*.js",
    "./src/bundle/index.ts",
    "./dist/bundle/index.js",
    "./dist/consent.js",
    "./dist/consent.min.js"
  ],
  "dependencies": {
    "@lit/react": "^1.0.8",
    "lit": "^3.3.2",
    "zod": "^3.25.67"
  },
  "devDependencies": {
    "@modelcontextprotocol/ext-apps": "^1.0.0",
    "@types/node": "^20.14.9",
    "@types/react": "^19.2.14",
    "@vitest/coverage-v8": "^4.0.18",
    "esbuild": "^0.27.3",
    "eslint": "^9.26.0",
    "typescript": "^5.5.3",
    "vitest": "^4.0.18"
  },
  "files": [
    "dist",
    "package.json",
    "README.md"
  ],
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/modelcontextprotocol-identity/xmcp-i.git",
    "directory": "packages/consent"
  },
  "keywords": [
    "mcp",
    "consent",
    "agentshield",
    "identity"
  ],
  "author": "KYA-OS Team",
  "license": "MIT"
}
