{
  "name": "@alpic-ai/insights",
  "version": "1.188.3",
  "description": "User insights middlewares for Alpic-hosted MCP servers",
  "type": "module",
  "main": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "default": "./dist/index.mjs"
    },
    "./react": {
      "types": "./dist/react/index.d.mts",
      "default": "./dist/react/index.mjs"
    }
  },
  "files": [
    "dist"
  ],
  "author": "Alpic",
  "license": "ISC",
  "peerDependencies": {
    "react": ">=18.0.0",
    "skybridge": "^0.36.3 || ^1.0.0 || ^2.0.0-beta.0 || ^2.0.0"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    },
    "skybridge": {
      "optional": true
    }
  },
  "dependencies": {
    "@modelcontextprotocol/server": "^2.4.0"
  },
  "devDependencies": {
    "@modelcontextprotocol/client": "^2.4.0",
    "@modelcontextprotocol/sdk": "^1.32.2",
    "@testing-library/dom": "^10.4.2",
    "@testing-library/react": "^16.3.3",
    "@total-typescript/tsconfig": "^1.0.4",
    "@types/node": "^26.6.6",
    "@types/react": "19.3.0",
    "jsdom": "^31.0.0",
    "react": "^19.3.1",
    "react-dom": "^19.3.1",
    "shx": "^0.4.0",
    "skybridge": "^2.1.0",
    "tsdown": "^0.23.7",
    "typescript": "^6.0.3",
    "vitest": "^5.1.0",
    "zod": "^4.6.7"
  },
  "scripts": {
    "build": "shx rm -rf dist && tsdown",
    "build:python": "cd python && uv build --no-sources",
    "format": "biome check --write --error-on-warnings .",
    "test": "pnpm run test:unit && pnpm run test:type && pnpm run test:format",
    "test:python": "cd python && uv run --locked pytest",
    "test:python:format": "cd python && uv run --locked ruff check . && uv run --locked ruff format --check .",
    "test:python:smoke": "pnpm run build:python && cd python && uv run --isolated --no-project --with dist/*.whl scripts/smoke_test.py && uv run --isolated --no-project --with dist/*.tar.gz scripts/smoke_test.py",
    "test:unit": "vitest run",
    "test:format": "biome check --error-on-warnings .",
    "test:type": "tsgo --noEmit",
    "publish:npm": "../../scripts/publish-if-new.sh"
  }
}