Files
matrix-js-sdk/package.json
T

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

137 lines
5.0 KiB
JSON
Raw Normal View History

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",
"engines": {
2023-06-29 17:36:09 +01:00
"node": ">=18.0.0"
2022-12-06 18:21:44 +00:00
},
"scripts": {
"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\"",
"clean": "rimraf lib",
2023-10-03 10:23:11 +01:00
"build": "yarn build:dev",
"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",
"build:compile": "babel -d lib --verbose --extensions \".ts,.js\" src",
2022-11-11 11:38:04 +00:00
"gendoc": "typedoc",
"lint": "yarn lint:types && yarn lint:js && yarn lint:workflows",
"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",
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'",
"lint:knip": "knip",
2022-09-06 22:02:40 -06:00
"test": "jest",
"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": {
"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",
"matrix_src_main": "./src/index.ts",
2022-12-06 18:21:44 +00:00
"matrix_src_browser": "./src/browser-index.ts",
"matrix_lib_main": "./lib/index.js",
2023-01-11 15:17:55 +00:00
"matrix_lib_browser": "./lib/browser-index.js",
"matrix_lib_typings": "./lib/index.d.ts",
2015-03-04 13:37:04 +00:00
"author": "matrix.org",
"license": "Apache-2.0",
"files": [
2022-12-09 09:38:20 +01:00
"lib",
"src",
"git-revision.txt",
2016-10-31 17:29:34 +00:00
"CHANGELOG.md",
"CONTRIBUTING.rst",
"LICENSE",
"README.md",
"package.json",
"release.sh"
],
2015-03-04 14:37:43 +00:00
"dependencies": {
"@babel/runtime": "^7.12.5",
"@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",
"jwt-decode": "^4.0.0",
2021-04-28 14:17:06 +01:00
"loglevel": "^1.7.1",
"matrix-events-sdk": "0.0.1",
"matrix-widget-api": "^1.6.0",
"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
},
"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",
"@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",
"@babel/preset-typescript": "^7.12.7",
2023-10-19 08:31:15 +01:00
"@casualbot/jest-sonar-reporter": "2.2.7",
"@matrix-org/olm": "3.2.15",
2024-04-16 12:16:13 +00:00
"@peculiar/webcrypto": "^1.4.5",
"@types/bs58": "^4.0.1",
2021-12-14 15:34:50 +00:00
"@types/content-type": "^1.1.5",
"@types/debug": "^4.1.7",
"@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",
"@types/uuid": "9",
"@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",
"debug": "^4.3.4",
"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",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^28.0.0",
"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",
"eslint-plugin-unicorn": "^53.0.0",
2024-01-08 15:34:49 +00:00
"fake-indexeddb": "^5.0.2",
"fetch-mock": "9.11.0",
"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",
"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",
"lint-staged": "^15.0.2",
"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",
"ts-node": "^10.9.2",
2024-03-06 08:49:16 +00:00
"typedoc": "^0.25.10",
"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
}