2015-03-04 13:37:04 +00:00
|
|
|
{
|
|
|
|
|
"name": "matrix-js-sdk",
|
2024-06-04 13:18:11 +00:00
|
|
|
"version": "33.0.0",
|
2015-03-04 13:37:04 +00:00
|
|
|
"description": "Matrix Client-Server SDK for Javascript",
|
2022-04-29 11:02:05 +01:00
|
|
|
"engines": {
|
2023-06-29 17:36:09 +01:00
|
|
|
"node": ">=18.0.0"
|
2022-12-06 18:21:44 +00:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2024-02-01 11:26:01 +00:00
|
|
|
"prepack": "yarn build",
|
2021-04-28 14:17:06 +01:00
|
|
|
"start": "echo THIS IS FOR LEGACY PURPOSES ONLY. && babel src -w -s -d lib --verbose --extensions \".ts,.js\"",
|
2023-10-03 11:22:09 +01:00
|
|
|
"clean": "rimraf lib",
|
2023-10-03 10:23:11 +01:00
|
|
|
"build": "yarn build:dev",
|
2019-12-17 15:08:15 -07:00
|
|
|
"build:dev": "yarn clean && git rev-parse HEAD > git-revision.txt && yarn build:compile && yarn build:types",
|
2020-09-23 17:35:24 +01:00
|
|
|
"build:types": "tsc -p tsconfig-build.json --emitDeclarationOnly",
|
2022-11-08 17:01:38 +00:00
|
|
|
"build:compile": "babel -d lib --verbose --extensions \".ts,.js\" src",
|
2022-11-11 11:38:04 +00:00
|
|
|
"gendoc": "typedoc",
|
2023-11-24 15:41:19 +01:00
|
|
|
"lint": "yarn lint:types && yarn lint:js && yarn lint:workflows",
|
2020-11-25 17:16:19 +00:00
|
|
|
"lint:js": "eslint --max-warnings 0 src spec && prettier --check .",
|
2024-01-02 17:56:06 +00:00
|
|
|
"lint:js-fix": "prettier --log-level=warn --write . && eslint --fix src spec",
|
2022-12-07 18:01:54 +00:00
|
|
|
"lint:types": "tsc --noEmit",
|
2023-11-24 15:41:19 +01:00
|
|
|
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'",
|
2024-04-08 11:04:40 +01:00
|
|
|
"lint:knip": "knip",
|
2022-09-06 22:02:40 -06:00
|
|
|
"test": "jest",
|
2021-07-24 12:10:45 +01:00
|
|
|
"test:watch": "jest --watch",
|
2021-01-20 11:05:17 +00:00
|
|
|
"coverage": "yarn test --coverage"
|
2022-12-09 09:34:01 +01:00
|
|
|
},
|
|
|
|
|
"repository": {
|
2022-09-30 09:05:28 +01:00
|
|
|
"type": "git",
|
2022-12-09 09:34:01 +01:00
|
|
|
"url": "https://github.com/matrix-org/matrix-js-sdk"
|
2021-01-20 11:05:17 +00:00
|
|
|
},
|
2022-11-11 11:38:04 +00:00
|
|
|
"keywords": [
|
2021-04-28 12:58:39 +01:00
|
|
|
"matrix-org"
|
2021-04-28 14:17:06 +01:00
|
|
|
],
|
2024-06-04 13:18:49 +00:00
|
|
|
"main": "./src/index.ts",
|
|
|
|
|
"browser": "./src/browser-index.ts",
|
2019-12-19 19:09:07 -07:00
|
|
|
"matrix_src_main": "./src/index.ts",
|
2022-12-06 18:21:44 +00:00
|
|
|
"matrix_src_browser": "./src/browser-index.ts",
|
2020-12-18 14:35:03 +00:00
|
|
|
"matrix_lib_main": "./lib/index.js",
|
2023-01-11 15:17:55 +00:00
|
|
|
"matrix_lib_browser": "./lib/browser-index.js",
|
2020-12-18 14:35:03 +00:00
|
|
|
"matrix_lib_typings": "./lib/index.d.ts",
|
2015-03-04 13:37:04 +00:00
|
|
|
"author": "matrix.org",
|
2022-10-12 18:59:04 +01:00
|
|
|
"license": "Apache-2.0",
|
|
|
|
|
"files": [
|
2022-12-09 09:38:20 +01:00
|
|
|
"lib",
|
|
|
|
|
"src",
|
2022-10-12 18:59:04 +01:00
|
|
|
"git-revision.txt",
|
2016-10-31 17:29:34 +00:00
|
|
|
"CHANGELOG.md",
|
|
|
|
|
"CONTRIBUTING.rst",
|
|
|
|
|
"LICENSE",
|
|
|
|
|
"README.md",
|
2020-01-14 14:44:06 -07:00
|
|
|
"package.json",
|
2022-10-12 18:59:04 +01:00
|
|
|
"release.sh"
|
|
|
|
|
],
|
2015-03-04 14:37:43 +00:00
|
|
|
"dependencies": {
|
2020-11-25 17:16:19 +00:00
|
|
|
"@babel/runtime": "^7.12.5",
|
2024-05-24 12:10:52 +01:00
|
|
|
"@matrix-org/matrix-sdk-crypto-wasm": "^5.0.0",
|
2021-04-28 14:17:06 +01:00
|
|
|
"another-json": "^0.2.0",
|
2022-07-13 08:16:28 -04:00
|
|
|
"bs58": "^5.0.0",
|
2021-04-28 14:17:06 +01:00
|
|
|
"content-type": "^1.0.4",
|
2024-02-19 17:20:56 +00:00
|
|
|
"jwt-decode": "^4.0.0",
|
2021-04-28 14:17:06 +01:00
|
|
|
"loglevel": "^1.7.1",
|
2022-11-08 17:01:38 +00:00
|
|
|
"matrix-events-sdk": "0.0.1",
|
2023-09-12 16:08:15 +01:00
|
|
|
"matrix-widget-api": "^1.6.0",
|
2024-02-19 17:20:56 +00:00
|
|
|
"oidc-client-ts": "^3.0.1",
|
2022-07-13 08:16:28 -04:00
|
|
|
"p-retry": "4",
|
2021-04-28 14:17:06 +01:00
|
|
|
"sdp-transform": "^2.14.1",
|
|
|
|
|
"unhomoglyph": "^1.0.6",
|
2024-06-11 12:26:43 +00:00
|
|
|
"uuid": "10"
|
2022-12-09 09:38:20 +01:00
|
|
|
},
|
2015-06-03 15:16:15 +01:00
|
|
|
"devDependencies": {
|
2024-03-05 17:54:30 +00:00
|
|
|
"@action-validator/cli": "^0.6.0",
|
|
|
|
|
"@action-validator/core": "^0.6.0",
|
2021-01-20 11:05:17 +00:00
|
|
|
"@babel/cli": "^7.12.10",
|
2021-04-28 14:17:06 +01:00
|
|
|
"@babel/core": "^7.12.10",
|
2020-11-25 17:16:19 +00:00
|
|
|
"@babel/eslint-parser": "^7.12.10",
|
|
|
|
|
"@babel/eslint-plugin": "^7.12.10",
|
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
|
|
|
"@babel/plugin-proposal-numeric-separator": "^7.12.7",
|
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
|
2020-09-23 17:35:24 +01:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
2021-01-20 11:05:17 +00:00
|
|
|
"@babel/plugin-transform-runtime": "^7.12.10",
|
|
|
|
|
"@babel/preset-env": "^7.12.11",
|
2020-11-25 17:16:19 +00:00
|
|
|
"@babel/preset-typescript": "^7.12.7",
|
2023-10-19 08:31:15 +01:00
|
|
|
"@casualbot/jest-sonar-reporter": "2.2.7",
|
2023-10-28 06:23:03 -04:00
|
|
|
"@matrix-org/olm": "3.2.15",
|
2024-04-16 12:16:13 +00:00
|
|
|
"@peculiar/webcrypto": "^1.4.5",
|
2020-10-13 19:05:41 +01:00
|
|
|
"@types/bs58": "^4.0.1",
|
2021-12-14 15:34:50 +00:00
|
|
|
"@types/content-type": "^1.1.5",
|
2023-02-15 10:39:24 +00:00
|
|
|
"@types/debug": "^4.1.7",
|
2022-10-12 18:59:04 +01:00
|
|
|
"@types/domexception": "^4.0.0",
|
2022-09-06 22:02:40 -06:00
|
|
|
"@types/jest": "^29.0.0",
|
2022-11-21 08:58:04 +00:00
|
|
|
"@types/node": "18",
|
2022-12-02 16:27:59 +00:00
|
|
|
"@types/sdp-transform": "^2.4.5",
|
2023-01-26 09:41:33 +00:00
|
|
|
"@types/uuid": "9",
|
2024-02-22 09:04:17 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
|
|
|
"@typescript-eslint/parser": "^7.0.0",
|
2022-09-06 22:02:40 -06:00
|
|
|
"babel-jest": "^29.0.0",
|
2023-02-15 10:39:24 +00:00
|
|
|
"debug": "^4.3.4",
|
2022-10-12 18:59:04 +01:00
|
|
|
"domexception": "^4.0.0",
|
2024-03-05 17:54:30 +00:00
|
|
|
"eslint": "8.57.0",
|
2021-01-20 11:05:17 +00:00
|
|
|
"eslint-config-google": "^0.14.0",
|
2023-08-08 14:10:12 +00:00
|
|
|
"eslint-config-prettier": "^9.0.0",
|
2022-09-30 09:05:28 +01:00
|
|
|
"eslint-import-resolver-typescript": "^3.5.1",
|
|
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2024-04-16 13:56:50 +00:00
|
|
|
"eslint-plugin-jest": "^28.0.0",
|
2024-01-10 02:20:21 +00:00
|
|
|
"eslint-plugin-jsdoc": "^48.0.0",
|
2023-02-10 05:05:40 -06:00
|
|
|
"eslint-plugin-matrix-org": "^1.0.0",
|
2024-06-04 17:21:20 +00:00
|
|
|
"eslint-plugin-tsdoc": "^0.3.0",
|
2024-05-15 17:56:22 +01:00
|
|
|
"eslint-plugin-unicorn": "^53.0.0",
|
2024-01-08 15:34:49 +00:00
|
|
|
"fake-indexeddb": "^5.0.2",
|
2023-11-16 09:47:30 +00:00
|
|
|
"fetch-mock": "9.11.0",
|
2023-02-03 15:58:50 +00:00
|
|
|
"fetch-mock-jest": "^1.5.1",
|
2024-02-22 09:46:30 +00:00
|
|
|
"husky": "^9.0.0",
|
2022-09-06 22:02:40 -06:00
|
|
|
"jest": "^29.0.0",
|
2022-11-17 18:20:34 -07:00
|
|
|
"jest-environment-jsdom": "^29.0.0",
|
2021-01-20 11:05:17 +00:00
|
|
|
"jest-localstorage-mock": "^2.4.6",
|
2022-10-21 14:22:50 +00:00
|
|
|
"jest-mock": "^29.0.0",
|
2024-04-23 12:34:26 +00:00
|
|
|
"knip": "^5.0.0",
|
2023-10-27 16:38:18 +02:00
|
|
|
"lint-staged": "^15.0.2",
|
2022-10-12 18:59:04 +01:00
|
|
|
"matrix-mock-request": "^2.5.0",
|
2024-04-16 12:16:13 +00:00
|
|
|
"node-fetch": "^2.7.0",
|
2024-06-11 13:09:01 +01:00
|
|
|
"prettier": "3.3.1",
|
2023-05-05 09:43:38 +12:00
|
|
|
"rimraf": "^5.0.0",
|
2024-04-08 11:04:40 +01:00
|
|
|
"ts-node": "^10.9.2",
|
2024-03-06 08:49:16 +00:00
|
|
|
"typedoc": "^0.25.10",
|
2024-02-21 18:45:39 +00:00
|
|
|
"typedoc-plugin-coverage": "^3.0.0",
|
2023-04-18 11:00:37 +01:00
|
|
|
"typedoc-plugin-mdn-links": "^3.0.3",
|
2023-04-28 09:41:28 +01:00
|
|
|
"typedoc-plugin-missing-exports": "^2.0.0",
|
2024-04-23 12:34:26 +00:00
|
|
|
"typescript": "^5.3.3"
|
2022-12-09 09:38:20 +01:00
|
|
|
},
|
2022-11-03 13:47:36 +00:00
|
|
|
"@casualbot/jest-sonar-reporter": {
|
|
|
|
|
"outputDirectory": "coverage",
|
|
|
|
|
"outputName": "jest-sonar-report.xml",
|
|
|
|
|
"relativePaths": true
|
2024-06-04 13:18:49 +00:00
|
|
|
}
|
2015-03-04 13:37:04 +00:00
|
|
|
}
|