{
  "name": "@canonmsg/backend-contracts",
  "version": "8.6.1",
  "description": "Canon backend contract helpers shared by Functions and stream-service",
  "type": "module",
  "main": "dist/cjs/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "require": "./dist/cjs/index.js",
      "types": "./dist/index.d.ts"
    },
    "./canon-verbs.schema.json": "./dist/canon-verbs.schema.json",
    "./canon-verbs.limits.json": "./dist/canon-verbs.limits.json",
    "./canon-verb-wire.schema.json": "./dist/canon-verb-wire.schema.json"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node -e \"require('fs').mkdirSync('dist/cjs',{recursive:true}); require('fs').writeFileSync('dist/cjs/package.json', JSON.stringify({type:'commonjs'}))\" && node scripts/emit-verb-schemas.mjs",
    "dev": "tsc -p tsconfig.json --watch",
    "test": "vitest run",
    "prepack": "npm run build"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "keywords": [
    "canon",
    "backend",
    "contracts",
    "wire"
  ],
  "homepage": "https://canonmail.com/agents/contracts",
  "publishConfig": {
    "access": "public"
  },
  "devDependencies": {
    "@canonmsg/rich-cards": "^0.10.6",
    "@types/node": "^22.0.0",
    "ajv": "^8.20.0",
    "typescript": "~5.7.0",
    "vitest": "^4.1.8"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://canonmail.com/support"
  }
}
