{
  "name": "@devvit/protos",
  "version": "0.12.21",
  "license": "BSD-3-Clause",
  "repository": {
    "type": "git",
    "url": "https://developers.reddit.com/"
  },
  "type": "module",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./index.js",
      "default": "./index.js"
    },
    "./community.js": {
      "types": "./community.d.ts",
      "import": "./community.js"
    },
    "./payments.js": {
      "types": "./payments.d.ts",
      "import": "./payments.js"
    },
    "./package.json": "./package.json",
    "./*": "./*"
  },
  "main": "./dist/index.js",
  "files": [
    "schema/",
    "**"
  ],
  "scripts": {
    "build": "tsc",
    "build:docs": "PROTO_TYPES_ONLY=1 yarn build:protos",
    "build:min": "esbuild --bundle --format=esm --metafile=dist/meta.min.json --minify --outfile=dist/protos.min.js --sourcemap=linked --target=es2020 src/index.ts",
    "build:protos": "./scripts/gen-proto.sh",
    "clean": "rm -rf .turbo coverage dist docs.json docs",
    "clobber": "yarn clean && rm -rf node_modules",
    "dev:build": "chokidar ./schema --command 'yarn build:protos && yarn build && echo \"BUILD COMPLETE\"'",
    "format": "./scripts/format.mjs",
    "lint": "./scripts/lint-proto.sh --ignore-in-ci && yarn lint:breaking && yarn lint:reddit-api-json && redlint .",
    "lint:breaking": "./scripts/lint-proto-breaking.sh --ignore-in-ci",
    "lint:fix": "redlint . --fix",
    "lint:reddit-api-json": "echo 'todo run esbuild on validate and then execute it; ts-node and tsc fail at dealing with ESM'",
    "prepublish-cleanup": "node ./scripts/prepublish-cleanup.js",
    "prepublishOnly": "cp -a ./schema ./dist && yarn prepublish-cleanup && publish-package-json",
    "redditapi:validate": "node ./scripts/redditapi/validate-protos.js",
    "test": "yarn test:unit && yarn test:types && yarn test:size",
    "test:size": "yarn build:min && filesize",
    "test:types": "tsc --noEmit && tsc --noEmit --project scripts",
    "test:unit": "vitest run",
    "test:unit-with-coverage": "vitest run --coverage"
  },
  "types": "./dist/index.d.ts",
  "dependencies": {
    "protobufjs": "7.5.4",
    "rxjs": "7.8.1"
  },
  "peerDependencies": {
    "twirp-ts": "^2.5.0"
  },
  "peerDependenciesMeta": {
    "twirp-ts": {
      "optional": true
    }
  },
  "devDependencies": {
    "@ampproject/filesize": "4.3.0",
    "@devvit/repo-tools": "0.12.21",
    "@devvit/tsconfig": "0.12.21",
    "@protobuf-ts/plugin": "2.9.3",
    "chokidar-cli": "3.0.0",
    "esbuild": "0.25.9",
    "eslint": "9.11.1",
    "glob": "10.3.10",
    "ts-proto": "1.172.0",
    "twirp-ts": "2.5.0",
    "typescript": "5.8.3",
    "vitest": "4.0.15"
  },
  "filesize": {
    "dist/protos.min.js": {
      "gzip": "210 KB",
      "none": "1509 KB"
    }
  },
  "typesVersions": {
    "*": {
      ".": [
        "./index.d.ts"
      ],
      "community.js": [
        "./community.d.ts"
      ],
      "payments.js": [
        "./payments.d.ts"
      ]
    }
  },
  "gitHead": "60df913ce0bce7c4e7aa5d999ad1fe7cc343b358"
}
