Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

139 lines
5.1 KiB
JSON
Raw Permalink Normal View History

2015-03-04 13:37:04 +00:00
{
2024-07-08 16:46:14 +01:00
"name": "matrix-js-sdk",
2026-04-07 13:17:11 +00:00
"version": "41.3.0",
2024-07-08 16:46:14 +01:00
"description": "Matrix Client-Server SDK for Javascript",
"engines": {
2025-05-08 14:38:18 +01:00
"node": ">=22.0.0"
2024-07-08 16:46:14 +01:00
},
"scripts": {
2026-02-11 10:35:25 +00:00
"prepare": "pnpm build",
"start": "echo THIS IS FOR LEGACY PURPOSES ONLY. && babel --delete-dir-on-start src -w -s -d lib --verbose --extensions \".ts,.js\"",
"build": "pnpm build:compile && pnpm build:types",
2024-07-08 16:46:14 +01:00
"build:types": "tsc -p tsconfig-build.json --emitDeclarationOnly",
"build:compile": "babel --delete-dir-on-start -d lib --verbose --extensions \".ts,.js\" src",
2024-07-08 16:46:14 +01:00
"gendoc": "typedoc",
2026-02-11 10:35:25 +00:00
"lint": "pnpm lint:types && pnpm lint:js && pnpm lint:workflows",
2024-07-08 16:46:14 +01:00
"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",
2026-02-11 10:35:25 +00:00
"coverage": "pnpm test --coverage"
2024-07-08 16:46:14 +01:00
},
"repository": {
"type": "git",
2025-03-13 16:04:58 +00:00
"url": "git+https://github.com/matrix-org/matrix-js-sdk.git"
2024-07-08 16:46:14 +01:00
},
"keywords": [
"matrix-org"
],
"type": "module",
"main": "./lib/index.js",
"browser": "./lib/browser-index.js",
"typings": "./lib/index.d.ts",
2024-07-08 16:46:14 +01:00
"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.1.0",
2024-07-08 16:46:14 +01:00
"another-json": "^0.2.0",
"bs58": "^6.0.0",
"content-type": "^1.0.4",
"jwt-decode": "^4.0.0",
"loglevel": "^1.9.2",
2024-07-08 16:46:14 +01:00
"matrix-events-sdk": "0.0.1",
"matrix-widget-api": "^1.16.1",
2024-07-08 16:46:14 +01:00
"oidc-client-ts": "^3.0.1",
2026-03-31 13:28:47 +00:00
"p-retry": "8",
"sdp-transform": "^3.0.0",
2026-04-23 10:53:18 +01:00
"unhomoglyph": "^1.0.6"
2024-07-08 16:46:14 +01:00
},
"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",
2024-07-08 16:46:14 +01:00
"@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",
2026-01-15 11:15:37 +00:00
"@fetch-mock/vitest": "^0.2.18",
"@matrix-org/olm": "3.2.15",
2024-07-08 16:46:14 +01:00
"@peculiar/webcrypto": "^1.4.5",
"@stylistic/eslint-plugin": "^5.0.0",
2024-07-08 16:46:14 +01:00
"@types/content-type": "^1.1.5",
"@types/debug": "^4.1.7",
2026-02-11 10:35:25 +00:00
"@types/node": "22",
2024-07-08 16:46:14 +01:00
"@types/sdp-transform": "^2.4.5",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
2026-01-15 11:15:37 +00:00
"@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",
2024-07-08 16:46:14 +01:00
"debug": "^4.3.4",
2024-10-16 12:50:08 +00:00
"eslint": "8.57.1",
2024-07-08 16:46:14 +01:00
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^10.0.0",
"eslint-import-resolver-typescript": "^4.0.0",
2024-07-08 16:46:14 +01:00
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^62.0.0",
2025-10-15 10:49:42 +01:00
"eslint-plugin-matrix-org": "^3.0.0",
"eslint-plugin-n": "^14.0.0",
2025-11-25 14:58:04 +00:00
"eslint-plugin-tsdoc": "^0.5.0",
"eslint-plugin-unicorn": "^56.0.0",
2024-07-08 16:46:14 +01:00
"fake-indexeddb": "^5.0.2",
"fetch-mock": "^12.6.0",
2026-01-15 11:15:37 +00:00
"happy-dom": "^20.1.0",
2024-07-08 16:46:14 +01:00
"husky": "^9.0.0",
2026-03-26 02:41:41 +00:00
"knip": "^6.0.0",
"lint-staged": "^16.0.0",
2024-07-08 16:46:14 +01:00
"matrix-mock-request": "^2.5.0",
2026-04-20 09:17:20 +01:00
"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",
2026-03-26 03:16:33 +00:00
"typescript": "^6.0.0",
2026-01-15 11:15:37 +00:00
"vitest": "^4.0.17",
"vitest-sonar-reporter": "^3.0.0"
2024-07-08 16:46:14 +01:00
},
2026-02-11 10:35:25 +00:00
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"eslint": "8"
}
},
"allowedDeprecatedVersions": {
"eslint": "8"
2026-04-09 12:52:19 +01:00
},
"overrides": {
"expect": "30.3.0",
"flatted@<=3.4.1": "^3.4.2",
"picomatch@>=4.0.0 <4.0.4": "^4.0.4",
"yaml@>=2.0.0 <2.8.3": "^2.8.3",
2026-04-22 17:16:29 +01:00
"vite": "8.0.8"
2026-02-11 10:35:25 +00:00
}
},
2026-03-31 13:19:11 +00:00
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
2015-03-04 13:37:04 +00:00
}