{
  "name": "libopus-wasm",
  "version": "0.2.0",
  "description": "Small, modern WASM bindings for libopus raw packet encode/decode.",
  "type": "module",
  "sideEffects": false,
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/openclaw/libopus-wasm.git"
  },
  "homepage": "https://libopus-wasm.dev",
  "bugs": {
    "url": "https://github.com/openclaw/libopus-wasm/issues"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "browser": "./dist/index.js",
      "import": "./dist/index.js"
    },
    "./discordjs": {
      "types": "./dist/discordjs.d.ts",
      "import": "./dist/discordjs.js"
    }
  },
  "files": [
    "dist/*.d.ts",
    "dist/*.d.ts.map",
    "dist/*.js",
    "dist/generated",
    "CHANGELOG.md",
    "LICENSE",
    "README.md",
    "THIRD_PARTY_NOTICES.md"
  ],
  "scripts": {
    "build": "pnpm build:wasm && tsc -p tsconfig.json && node scripts/copy-generated.mjs",
    "build:wasm": "node scripts/build-libopus-wasm.mjs",
    "benchmark": "pnpm build && node scripts/benchmark-native.mjs",
    "clean": "rm -rf dist .cache",
    "docs:build": "node scripts/build-docs-site.mjs",
    "prepack": "pnpm build",
    "test": "pnpm build:wasm && vitest run",
    "test:coverage": "pnpm build:wasm && vitest run --coverage",
    "typecheck": "tsc -p tsconfig.json --noEmit"
  },
  "devDependencies": {
    "@discordjs/opus": "0.10.0",
    "@types/node": "24.10.2",
    "@vitest/coverage-v8": "4.0.14",
    "typescript": "5.9.3",
    "vitest": "4.0.14"
  },
  "engines": {
    "node": ">=20"
  }
}
