{
  "name": "capnp-es",
  "version": "0.0.14",
  "description": "TypeScript implementation of the Cap'n Proto serialization.",
  "repository": "unjs/capnp-es",
  "license": "MIT",
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.mts",
      "default": "./dist/index.mjs"
    },
    "./compiler": {
      "types": "./dist/compiler/index.d.mts",
      "default": "./dist/compiler/index.mjs"
    },
    "./capnp/*": {
      "types": "./dist/capnp/*.d.mts",
      "default": "./dist/capnp/*.mjs"
    },
    "./debug": {
      "types": "./dist/debug/index.d.mts",
      "default": "./dist/debug/index.mjs"
    }
  },
  "main": "./dist/index.mjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "bin": {
    "capnp-es": "./dist/compiler/capnpc-js.mjs",
    "capnpc-js": "./dist/compiler/capnpc-js.mjs",
    "capnpc-dts": "./dist/compiler/capnpc-dts.mjs",
    "capnpc-ts": "./dist/compiler/capnpc-ts.mjs"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "bench:bun": "bun run ./test/bench/bench.ts",
    "bench:node": "node --import jiti/register ./test/bench/bench.ts",
    "build": "pnpm build:std && unbuild",
    "build:std": "unbuild --stub && pnpm capnp-es src/capnp/_capnp/*.capnp --src-prefix=src/capnp/_capnp -ots:./src/capnp && prettier -w ./src/capnp",
    "capnp-es": "jiti ./src/compiler/capnpc-js.ts",
    "dev": "vitest dev",
    "lint": "eslint . && prettier -c .",
    "lint:fix": "automd && eslint . --fix && prettier -w .",
    "prepack": "pnpm build",
    "play": "pnpm capnp-es -ots,js,dts playground/*.capnp",
    "profile:bun": "bun run ./test/bench/profile.ts",
    "profile:node": "node --cpu-prof --import jiti/register ./test/bench/profile.ts",
    "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
    "test": "pnpm lint && vitest run --coverage && pnpm test:types",
    "test:types": "tsc --noEmit --skipLibCheck"
  },
  "devDependencies": {
    "@types/benchmark": "^2.1.5",
    "@types/hex2dec": "^1.1.4",
    "@types/node": "^22.19.6",
    "@vitest/coverage-v8": "^4.0.17",
    "automd": "^0.4.2",
    "benchmark": "^2.1.4",
    "capnp-ts": "^0.7.0",
    "changelogen": "^0.6.2",
    "esbuild": "^0.27.2",
    "eslint": "^9.39.2",
    "eslint-config-unjs": "^0.6.2",
    "hex2dec": "^1.1.2",
    "jiti": "^2.6.1",
    "mitata": "^1.0.34",
    "prettier": "^3.8.0",
    "protobufjs": "^8.0.0",
    "typescript": "^5.9.3",
    "unbuild": "^3.6.1",
    "vite-tsconfig-paths": "^6.0.4",
    "vitest": "^4.0.17"
  },
  "peerDependencies": {
    "typescript": "^5.7.3"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    }
  },
  "packageManager": "pnpm@10.28.0"
}
