{
  "name": "matrix-js-sdk",
  "version": "45.2.0",
  "description": "Matrix Client-Server SDK for Javascript",
  "engines": {
    "node": ">=22.0.0"
  },
  "devEngines": {
    "packageManager": {
      "name": "pnpm",
      "version": "12.18.0",
      "onFail": "download"
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/matrix-org/matrix-js-sdk.git"
  },
  "keywords": [
    "matrix-org"
  ],
  "type": "module",
  "main": "./lib/index.js",
  "browser": "./lib/browser-index.js",
  "typings": "./lib/index.d.ts",
  "author": "matrix.org",
  "license": "Apache-2.0",
  "files": [
    "lib",
    "src",
    "git-revision.txt",
    "CHANGELOG.md",
    "CONTRIBUTING.rst",
    "LICENSE",
    "README.md",
    "package.json",
    "release.sh"
  ],
  "dependencies": {
    "@babel/runtime": "^8.0.7",
    "@matrix-org/matrix-sdk-crypto-wasm": "18.9.2",
    "another-json": "^0.2.0",
    "bs58": "^6.0.0",
    "content-type": "^3.1.1",
    "loglevel": "^1.9.2",
    "matrix-events-sdk": "0.0.1",
    "matrix-widget-api": "^1.20.0",
    "p-retry": "^9.0.0",
    "re2js": "^2.8.6",
    "sdp-transform": "^3.0.0",
    "unhomoglyph": "^1.0.6"
  },
  "devDependencies": {
    "@action-validator/cli": "^0.6.0",
    "@action-validator/core": "^0.6.0",
    "@babel/cli": "^8.0.6",
    "@babel/core": "^8.0.7",
    "@babel/plugin-proposal-decorators": "^8.0.2",
    "@babel/plugin-transform-class-properties": "^8.0.1",
    "@babel/plugin-transform-numeric-separator": "^8.0.1",
    "@babel/plugin-transform-object-rest-spread": "^8.0.1",
    "@babel/plugin-transform-runtime": "^8.0.6",
    "@babel/plugin-transform-typescript": "^8.0.6",
    "@babel/preset-env": "^8.0.7",
    "@babel/preset-typescript": "^8.0.7",
    "@fetch-mock/vitest": "^0.2.18",
    "@matrix-org/olm": "3.2.15",
    "@types/debug": "^4.1.13",
    "@types/node": "^22.20.5",
    "@types/sdp-transform": "^3.0.0",
    "@typescript/native": "npm:typescript@7.0.2",
    "@vitest/coverage-v8": "^5.0.5",
    "@vitest/ui": "^5.0.5",
    "concurrently": "^10.0.6",
    "debug": "^4.4.3",
    "fake-indexeddb": "^6.2.5",
    "fetch-mock": "^12.6.0",
    "happy-dom": "^21.0.4",
    "husky": "^9.1.7",
    "knip": "^6.41.0",
    "lint-staged": "^17.6.0",
    "matrix-mock-request": "^2.6.0",
    "oxfmt": "^0.77.0",
    "oxlint": "^1.88.0",
    "oxlint-tsgolint": "^7.0.2004",
    "typedoc": "^0.28.20",
    "typedoc-plugin-coverage": "^4.0.3",
    "typedoc-plugin-mdn-links": "^5.1.1",
    "typedoc-plugin-missing-exports": "^4.1.4",
    "typescript": "npm:@typescript/typescript6@6.0.2",
    "vitest": "^5.0.5"
  },
  "scripts": {
    "start": "concurrently 'pnpm run build:compile --watch' 'pnpm run build:types --watch'",
    "build": "pnpm build:compile && pnpm build:types",
    "build:types": "tsc -p tsconfig-build.json --emitDeclarationOnly",
    "build:compile": "babel --delete-dir-on-start -d lib --verbose --extensions \".ts,.js\" src",
    "gendoc": "typedoc",
    "lint": "pnpm lint:types && pnpm lint:js && pnpm lint:workflows",
    "lint:js": "oxlint && oxfmt --check",
    "lint:js-fix": "oxfmt --write . && oxlint --fix src spec",
    "lint:types": "tsc --noEmit",
    "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'",
    "lint:knip": "knip && knip --strict --exclude unlisted,dependencies,binaries",
    "test": "vitest run",
    "test:watch": "vitest watch",
    "coverage": "pnpm test --coverage",
    "coverage:diff": "diff-cover --config-file diff-cover.toml coverage/lcov.info"
  }
}