{
  "name": "matrix-js-sdk",
  "version": "41.7.0-rc.3",
  "description": "Matrix Client-Server SDK for Javascript",
  "engines": {
    "node": ">=22.0.0"
  },
  "devEngines": {
    "packageManager": {
      "name": "pnpm",
      "version": "11.2.2+sha512.36e6621fad506178936455e70247b8808ef4ec25797a9f437a93281a020484e2607f6a469a22e982987c3dbb8866e3071514ab10a4a1749e06edcd1ec118436f",
      "onFail": "error"
    }
  },
  "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": "^7.12.5",
    "@matrix-org/matrix-sdk-crypto-wasm": "^18.3.1",
    "another-json": "^0.2.0",
    "bs58": "^6.0.0",
    "content-type": "^2.0.0",
    "jwt-decode": "^4.0.0",
    "loglevel": "^1.9.2",
    "matrix-events-sdk": "0.0.1",
    "matrix-widget-api": "^1.16.1",
    "oidc-client-ts": "^3.0.1",
    "p-retry": "8",
    "sdp-transform": "^3.0.0",
    "unhomoglyph": "^1.0.6"
  },
  "devDependencies": {
    "@action-validator/cli": "^0.6.0",
    "@action-validator/core": "^0.6.0",
    "@babel/cli": "^7.12.10",
    "@babel/core": "^7.12.10",
    "@babel/eslint-parser": "^7.12.10",
    "@babel/eslint-plugin": "^7.12.10",
    "@babel/plugin-proposal-decorators": "^7.25.9",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/plugin-transform-class-properties": "^7.12.1",
    "@babel/plugin-transform-numeric-separator": "^7.12.7",
    "@babel/plugin-transform-object-rest-spread": "^7.12.1",
    "@babel/plugin-transform-runtime": "^7.12.10",
    "@babel/preset-env": "^7.12.11",
    "@babel/preset-typescript": "^7.12.7",
    "@fetch-mock/vitest": "^0.2.18",
    "@matrix-org/olm": "3.2.15",
    "@peculiar/webcrypto": "^1.4.5",
    "@stylistic/eslint-plugin": "^5.0.0",
    "@types/debug": "^4.1.7",
    "@types/node": "22",
    "@types/sdp-transform": "^2.4.5",
    "@typescript-eslint/eslint-plugin": "^8.0.0",
    "@typescript-eslint/parser": "^8.0.0",
    "@vitest/coverage-v8": "^4.0.17",
    "@vitest/eslint-plugin": "^1.6.6",
    "@vitest/ui": "^4.0.17",
    "babel-plugin-search-and-replace": "^1.1.1",
    "concurrently": "^9.2.1",
    "debug": "^4.3.4",
    "eslint": "8.57.1",
    "eslint-config-google": "^0.14.0",
    "eslint-config-prettier": "^10.0.0",
    "eslint-import-resolver-typescript": "^4.0.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jsdoc": "^63.0.0",
    "eslint-plugin-matrix-org": "^3.0.0",
    "eslint-plugin-n": "^14.0.0",
    "eslint-plugin-tsdoc": "^0.5.0",
    "eslint-plugin-unicorn": "^56.0.0",
    "fake-indexeddb": "^5.0.2",
    "fetch-mock": "^12.6.0",
    "happy-dom": "^20.1.0",
    "husky": "^9.0.0",
    "knip": "^6.0.0",
    "lint-staged": "^17.0.0",
    "matrix-mock-request": "^2.5.0",
    "prettier": "3.8.3",
    "typedoc": "^0.28.1",
    "typedoc-plugin-coverage": "^4.0.0",
    "typedoc-plugin-mdn-links": "^5.0.0",
    "typedoc-plugin-missing-exports": "^4.0.0",
    "typescript": "^6.0.0",
    "vitest": "^4.0.17"
  },
  "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": "eslint --max-warnings 0 src spec && prettier --check .",
    "lint:js-fix": "prettier --log-level=warn --write . && eslint --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",
    "test": "vitest run",
    "test:watch": "vitest watch",
    "coverage": "pnpm test --coverage",
    "coverage:diff": "diff-cover --config-file diff-cover.toml coverage/lcov.info"
  }
}