{
  "name": "@medalsocial/sdk",
  "version": "1.6.0",
  "description": "TypeScript SDK for Medal Social API — posts, emails, contacts, deals, helpdesk, webhooks, and GDPR compliance",
  "license": "Apache-2.0",
  "author": "Medal Social / Ali Aljumaili",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Medal-Social/MedalSocial-SDK.git"
  },
  "bugs": {
    "url": "https://github.com/Medal-Social/MedalSocial-SDK/issues"
  },
  "homepage": "https://github.com/Medal-Social/MedalSocial-SDK#readme",
  "main": "dist/src/index.js",
  "module": "dist/src/index.mjs",
  "types": "dist/src/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/src/index.d.ts",
      "import": "./dist/src/index.mjs",
      "require": "./dist/src/index.js"
    },
    "./pilot": {
      "types": "./dist/pilot/index.d.ts",
      "import": "./dist/pilot/index.mjs",
      "require": "./dist/pilot/index.js"
    },
    "./openapi.json": {
      "default": "./dist/openapi/medal-social.openapi.json"
    },
    "./openapi.yaml": "./openapi/medal-social.openapi.yaml",
    "./openapi-types": {
      "types": "./dist/src/openapi.generated.d.ts",
      "import": "./dist/src/openapi.generated.mjs",
      "require": "./dist/src/openapi.generated.js"
    }
  },
  "sideEffects": false,
  "engines": {
    "node": ">=24"
  },
  "publishConfig": {
    "access": "public"
  },
  "lint-staged": {
    "*.{js,cjs,mjs,jsx,ts,tsx,json,jsonc,md,yml,yaml}": [
      "biome check --write --no-errors-on-unmatched"
    ]
  },
  "files": [
    "dist",
    "openapi",
    "skills",
    "!skills/_artifacts",
    "!skills/**/_artifacts",
    "!skills/**/_artifacts/**"
  ],
  "keywords": [
    "medal",
    "social",
    "sdk",
    "api",
    "typescript",
    "client",
    "crm",
    "email",
    "gdpr",
    "contacts",
    "deals",
    "posts",
    "social-media",
    "tanstack-intent"
  ],
  "dependencies": {
    "zod": "^4.4.3"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.5.6",
    "@changesets/changelog-github": "^0.7.0",
    "@changesets/cli": "^2.31.1",
    "@commitlint/cli": "^21.2.1",
    "@commitlint/config-conventional": "^21.2.0",
    "@redocly/cli": "^2.42.0",
    "@secretlint/secretlint-rule-preset-recommend": "^13.0.4",
    "@tanstack/intent": "0.3.6",
    "@types/node": "^24.13.3",
    "@vitest/coverage-v8": "^4.1.10",
    "husky": "^9.1.6",
    "jsr": "^0.14.3",
    "knip": "^6.29.0",
    "lint-staged": "^17.2.0",
    "only-allow": "^1.2.1",
    "openapi-typescript": "^7.13.0",
    "secretlint": "^13.0.4",
    "tsup": "^8.3.0",
    "typedoc": "^0.28.20",
    "typescript": "^6.0.3",
    "vitest": "^4.1.10"
  },
  "scripts": {
    "preinstall": "npx only-allow pnpm",
    "build": "pnpm openapi:types && tsup && pnpm openapi:bundle",
    "dev": "tsup src/index.ts --watch",
    "clean": "rm -rf dist",
    "test": "vitest run",
    "test:watch": "vitest",
    "docs": "typedoc",
    "lint": "biome check .",
    "lint:fix": "biome check --fix .",
    "quality": "pnpm lint && pnpm test",
    "typecheck": "tsc --noEmit",
    "verify:paths": "node scripts/verify-package-paths.mjs",
    "openapi:lint": "redocly lint openapi/medal-social.openapi.yaml",
    "openapi:types": "openapi-typescript && biome format --write src/openapi.generated.ts",
    "openapi:bundle": "node -e \"require('node:fs').mkdirSync('dist/openapi',{recursive:true})\" && redocly bundle openapi/medal-social.openapi.yaml --output dist/openapi/medal-social.openapi.json",
    "openapi:coverage": "node scripts/assert-openapi-sdk-coverage.mjs",
    "openapi:check": "pnpm openapi:lint && pnpm openapi:types && pnpm openapi:bundle && pnpm openapi:coverage",
    "version": "changeset version && node -e \"const fs=require('fs');const p=JSON.parse(fs.readFileSync('./package.json','utf8'));const j=JSON.parse(fs.readFileSync('./jsr.json','utf8'));j.version=p.version;fs.writeFileSync('./jsr.json',JSON.stringify(j,null,2)+'\\n')\"",
    "release": "pnpm build && pnpm verify:paths && changeset publish && pnpm exec jsr publish",
    "changeset": "changeset",
    "knip:report": "knip --reporter json --no-exit-code",
    "knip:check": "knip",
    "secret:scan": "node scripts/secretlint-repo.mjs",
    "secret:scan:staged": "node scripts/secretlint-staged.mjs"
  }
}