{
  "name": "@bufbuild/protobuf",
  "version": "2.13.0",
  "license": "(Apache-2.0 AND BSD-3-Clause)",
  "description": "Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.",
  "keywords": [
    "protobuf",
    "schema",
    "typescript",
    "ecmascript"
  ],
  "homepage": "https://protobufes.com/",
  "repository": {
    "type": "git",
    "url": "https://github.com/bufbuild/protobuf-es.git",
    "directory": "packages/protobuf"
  },
  "scripts": {
    "build": "tshy",
    "bootstrap": "npm run bootstrap:inject && npm run bootstrap:wkt",
    "bootstrap:inject": "node scripts/bootstrap-inject.mjs src",
    "bootstrap:wkt": "protoc --es_out=src/wkt/gen --es_opt=bootstrap_wkt=true,target=ts,import_extension=js,json_types=true --proto_path $(upstream-include wkt) $(upstream-files wkt)",
    "postbootstrap:wkt": "license-header src/wkt/gen",
    "format": "biome format --write",
    "license-header": "license-header --ignore 'src/wire/varint.ts'",
    "lint": "biome lint --error-on-warnings",
    "attw": "attw --pack"
  },
  "type": "module",
  "sideEffects": false,
  "tshy": {
    "selfLink": false,
    "exports": {
      ".": "./src/index.ts",
      "./codegenv1": "./src/codegenv1/index.ts",
      "./codegenv2": "./src/codegenv2/index.ts",
      "./reflect": "./src/reflect/index.ts",
      "./wkt": "./src/wkt/index.ts",
      "./wire": "./src/wire/index.ts",
      "./txtpb": "./src/txtpb/index.ts"
    }
  },
  "devDependencies": {
    "tshy": "^4.1.3",
    "upstream-protobuf": "*"
  },
  "files": [
    "dist/**"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "types": "./dist/commonjs/index.d.ts",
        "default": "./dist/commonjs/index.js"
      }
    },
    "./codegenv1": {
      "import": {
        "types": "./dist/esm/codegenv1/index.d.ts",
        "default": "./dist/esm/codegenv1/index.js"
      },
      "require": {
        "types": "./dist/commonjs/codegenv1/index.d.ts",
        "default": "./dist/commonjs/codegenv1/index.js"
      }
    },
    "./codegenv2": {
      "import": {
        "types": "./dist/esm/codegenv2/index.d.ts",
        "default": "./dist/esm/codegenv2/index.js"
      },
      "require": {
        "types": "./dist/commonjs/codegenv2/index.d.ts",
        "default": "./dist/commonjs/codegenv2/index.js"
      }
    },
    "./reflect": {
      "import": {
        "types": "./dist/esm/reflect/index.d.ts",
        "default": "./dist/esm/reflect/index.js"
      },
      "require": {
        "types": "./dist/commonjs/reflect/index.d.ts",
        "default": "./dist/commonjs/reflect/index.js"
      }
    },
    "./wkt": {
      "import": {
        "types": "./dist/esm/wkt/index.d.ts",
        "default": "./dist/esm/wkt/index.js"
      },
      "require": {
        "types": "./dist/commonjs/wkt/index.d.ts",
        "default": "./dist/commonjs/wkt/index.js"
      }
    },
    "./wire": {
      "import": {
        "types": "./dist/esm/wire/index.d.ts",
        "default": "./dist/esm/wire/index.js"
      },
      "require": {
        "types": "./dist/commonjs/wire/index.d.ts",
        "default": "./dist/commonjs/wire/index.js"
      }
    },
    "./txtpb": {
      "import": {
        "types": "./dist/esm/txtpb/index.d.ts",
        "default": "./dist/esm/txtpb/index.js"
      },
      "require": {
        "types": "./dist/commonjs/txtpb/index.d.ts",
        "default": "./dist/commonjs/txtpb/index.js"
      }
    }
  },
  "main": "./dist/commonjs/index.js",
  "types": "./dist/commonjs/index.d.ts",
  "module": "./dist/esm/index.js",
  "typesVersions": {
    "*": {
      "codegenv1": [
        "./dist/commonjs/codegenv1/index.d.ts"
      ],
      "codegenv2": [
        "./dist/commonjs/codegenv2/index.d.ts"
      ],
      "reflect": [
        "./dist/commonjs/reflect/index.d.ts"
      ],
      "wkt": [
        "./dist/commonjs/wkt/index.d.ts"
      ],
      "wire": [
        "./dist/commonjs/wire/index.d.ts"
      ],
      "txtpb": [
        "./dist/commonjs/txtpb/index.d.ts"
      ]
    }
  }
}
