{ "name": "matrix-js-sdk", "version": "42.3.0", "description": "Matrix Client-Server SDK for Javascript", "engines": { "node": ">=22.0.0" }, "devEngines": { "packageManager": { "name": "pnpm", "version": "11.9.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.0", "@matrix-org/matrix-sdk-crypto-wasm": "^18.4.0", "another-json": "^0.2.0", "bs58": "^6.0.0", "content-type": "^2.0.0", "loglevel": "^1.9.2", "matrix-events-sdk": "0.0.1", "matrix-widget-api": "^1.18.0", "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": "^8.0.0", "@babel/core": "^8.0.0", "@babel/plugin-proposal-decorators": "^8.0.0", "@babel/plugin-transform-class-properties": "^8.0.0", "@babel/plugin-transform-numeric-separator": "^8.0.0", "@babel/plugin-transform-object-rest-spread": "^8.0.0", "@babel/plugin-transform-runtime": "^8.0.0", "@babel/plugin-transform-typescript": "^8.0.0", "@babel/preset-env": "^8.0.0", "@babel/preset-typescript": "^8.0.0", "@fetch-mock/vitest": "^0.2.18", "@matrix-org/olm": "3.2.15", "@types/debug": "^4.1.7", "@types/node": "22", "@types/sdp-transform": "^3.0.0", "@typescript/native": "npm:typescript@7.0.2", "@vitest/coverage-v8": "^4.0.17", "@vitest/ui": "^4.0.17", "concurrently": "^10.0.0", "debug": "^4.3.4", "fake-indexeddb": "^6.0.0", "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", "oxfmt": "^0.63.0", "oxlint": "^1.70.0", "oxlint-tsgolint": "^7.0.0", "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": "npm:@typescript/typescript6@6.0.2", "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": "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" } }