github.com/livekit/protocol@v1.39.3/packages/javascript/package.json (about)

     1  {
     2    "name": "@livekit/protocol",
     3    "version": "1.39.3",
     4    "description": "",
     5    "type": "module",
     6    "require": "dist/index.cjs",
     7    "files": [
     8      "src",
     9      "dist"
    10    ],
    11    "exports": {
    12      ".": {
    13        "import": {
    14          "types": "./dist/index.d.mts",
    15          "default": "./dist/index.mjs"
    16        },
    17        "require": {
    18          "types": "./dist/index.d.cts",
    19          "default": "./dist/index.cjs"
    20        }
    21      }
    22    },
    23    "main": "./dist/index.mjs",
    24    "types": "./dist/index.d.mts",
    25    "scripts": {
    26      "generate:proto": "mkdir -p src/gen && protoc --es_out src/gen --es_opt target=dts+js -I=../../protobufs ../../protobufs/livekit_*.proto",
    27      "generate:version": "genversion --esm --semi src/gen/version.js",
    28      "build": "pnpm generate:version && pnpm generate:proto && unbuild"
    29    },
    30    "keywords": [],
    31    "author": "LiveKit",
    32    "license": "Apache-2.0",
    33    "devDependencies": {
    34      "@bufbuild/protoc-gen-es": "^1.10.0",
    35      "genversion": "^3.2.0",
    36      "typescript": "5.8.3",
    37      "unbuild": "^2.0.0"
    38    },
    39    "dependencies": {
    40      "@bufbuild/protobuf": "^1.10.0"
    41    }
    42  }