{
  "name": "@common-grants/sdk",
  "version": "0.7.1",
  "engines": {
    "node": ">=22.0.0"
  },
  "license": "CC0-1.0",
  "description": "The CommonGrants protocol TypeScript SDK",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./client": {
      "types": "./dist/src/client/index.d.ts",
      "default": "./dist/src/client/index.js"
    },
    "./schemas": {
      "types": "./dist/src/schemas/index.d.ts",
      "default": "./dist/src/schemas/index.js"
    },
    "./types": {
      "types": "./dist/src/types.d.ts",
      "default": "./dist/src/types.js"
    },
    "./constants": {
      "types": "./dist/src/constants.d.ts",
      "default": "./dist/src/constants.js"
    },
    "./extensions": {
      "types": "./dist/src/extensions/index.d.ts",
      "default": "./dist/src/extensions/index.js"
    }
  },
  "files": [
    "dist",
    "!dist/**/*.test.*",
    "!dist/**/*.spec.*"
  ],
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/HHS/simpler-grants-protocol.git",
    "directory": "lib/ts-sdk"
  },
  "bugs": {
    "url": "https://github.com/HHS/simpler-grants-protocol/issues"
  },
  "homepage": "https://github.com/HHS/simpler-grants-protocol/tree/main/lib/ts-sdk#readme",
  "keywords": [
    "sdk",
    "typescript",
    "protocol",
    "grants",
    "opportunities"
  ],
  "dependencies": {
    "zod": "^4.4.3"
  },
  "devDependencies": {
    "@common-grants/cg-grants-gov": "^0.2.0",
    "@eslint/js": "^10.0.1",
    "@types/js-yaml": "^4.0.9",
    "@types/node": "^22.19.21",
    "@typespec/compiler": "^1.13.0",
    "@typespec/http": "^1.13.0",
    "@typespec/json-schema": "^1.13.0",
    "@typespec/openapi": "^1.13.0",
    "@typespec/openapi3": "^1.13.0",
    "@typespec/rest": "^0.83.0",
    "@typespec/versioning": "^0.83.0",
    "@vitest/coverage-v8": "^4.1.8",
    "ajv": "^8.20.0",
    "ajv-formats": "^3.0.1",
    "eslint": "^10.5.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.6",
    "js-yaml": "^4.3.0",
    "json-schema-faker": "^0.6.2",
    "prettier": "^3.8.4",
    "ts-node": "^10.9.2",
    "tsx": "^4.23.1",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.61.1",
    "vitest": "^4.1.8",
    "@common-grants/core": "0.4.0"
  },
  "scripts": {
    "build": "tsc && pnpm typespec",
    "start": "node dist/index.js",
    "dev": "ts-node src/index.ts",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "lint": "eslint . --ext .ts --fix",
    "format": "prettier --write .",
    "check:lint": "eslint . --ext .ts",
    "check:format": "prettier --check .",
    "check:types": "tsc --noEmit",
    "checks": "pnpm run check:lint && pnpm run check:format && pnpm run check:types",
    "ci": "pnpm run checks && pnpm run build && pnpm run test && pnpm run example:transforms",
    "audit": "pnpm audit",
    "typespec": "tsp compile lib/main.tsp",
    "example:list": "tsx examples/list-opportunities.ts",
    "example:get": "tsx examples/get-opportunity.ts",
    "example:search": "tsx examples/search-opportunities.ts",
    "example:custom-fields": "tsx examples/custom-fields.ts",
    "example:get-custom-fields": "tsx examples/get-opportunity-with-custom-fields.ts",
    "example:plugins": "tsx examples/plugins.ts",
    "example:server": "tsx examples/mock-api-server.ts",
    "example:transforms": "tsx examples/transforms.ts",
    "example:custom-filters": "tsx examples/custom-filters.ts",
    "example:grants-gov": "tsx examples/grants-gov-transforms.ts"
  }
}