|
1 | 1 | {
|
2 |
| - "name": "matrix-js-sdk", |
3 |
| - "version": "34.0.0", |
4 |
| - "description": "Matrix Client-Server SDK for Javascript", |
5 |
| - "engines": { |
6 |
| - "node": ">=20.0.0" |
7 |
| - }, |
8 |
| - "scripts": { |
9 |
| - "prepack": "yarn build", |
10 |
| - "start": "echo THIS IS FOR LEGACY PURPOSES ONLY. && babel src -w -s -d lib --verbose --extensions \".ts,.js\"", |
11 |
| - "clean": "rimraf lib", |
12 |
| - "build": "yarn build:dev", |
13 |
| - "build:dev": "yarn clean && git rev-parse HEAD > git-revision.txt && yarn build:compile && yarn build:types", |
14 |
| - "build:types": "tsc -p tsconfig-build.json --emitDeclarationOnly", |
15 |
| - "build:compile": "babel -d lib --verbose --extensions \".ts,.js\" src", |
16 |
| - "gendoc": "typedoc", |
17 |
| - "lint": "yarn lint:types && yarn lint:js && yarn lint:workflows", |
18 |
| - "lint:js": "eslint --max-warnings 0 src spec && prettier --check .", |
19 |
| - "lint:js-fix": "prettier --log-level=warn --write . && eslint --fix src spec", |
20 |
| - "lint:types": "tsc --noEmit", |
21 |
| - "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'", |
22 |
| - "lint:knip": "knip", |
23 |
| - "test": "jest", |
24 |
| - "test:watch": "jest --watch", |
25 |
| - "coverage": "yarn test --coverage" |
26 |
| - }, |
27 |
| - "repository": { |
28 |
| - "type": "git", |
29 |
| - "url": "https://github.com/matrix-org/matrix-js-sdk" |
30 |
| - }, |
31 |
| - "keywords": [ |
32 |
| - "matrix-org" |
33 |
| - ], |
34 |
| - "main": "./src/index.ts", |
35 |
| - "browser": "./src/browser-index.ts", |
36 |
| - "matrix_src_main": "./src/index.ts", |
37 |
| - "matrix_src_browser": "./src/browser-index.ts", |
38 |
| - "matrix_lib_main": "./lib/index.js", |
39 |
| - "matrix_lib_browser": "./lib/browser-index.js", |
40 |
| - "matrix_lib_typings": "./lib/index.d.ts", |
41 |
| - "author": "matrix.org", |
42 |
| - "license": "Apache-2.0", |
43 |
| - "files": [ |
44 |
| - "lib", |
45 |
| - "src", |
46 |
| - "git-revision.txt", |
47 |
| - "CHANGELOG.md", |
48 |
| - "CONTRIBUTING.rst", |
49 |
| - "LICENSE", |
50 |
| - "README.md", |
51 |
| - "package.json", |
52 |
| - "release.sh" |
53 |
| - ], |
54 |
| - "dependencies": { |
55 |
| - "@babel/runtime": "^7.12.5", |
56 |
| - "@matrix-org/matrix-sdk-crypto-wasm": "^6.0.0", |
57 |
| - "another-json": "^0.2.0", |
58 |
| - "bs58": "^6.0.0", |
59 |
| - "content-type": "^1.0.4", |
60 |
| - "jwt-decode": "^4.0.0", |
61 |
| - "loglevel": "^1.7.1", |
62 |
| - "matrix-events-sdk": "0.0.1", |
63 |
| - "matrix-widget-api": "^1.6.0", |
64 |
| - "oidc-client-ts": "^3.0.1", |
65 |
| - "p-retry": "4", |
66 |
| - "sdp-transform": "^2.14.1", |
67 |
| - "unhomoglyph": "^1.0.6", |
68 |
| - "uuid": "10" |
69 |
| - }, |
70 |
| - "devDependencies": { |
71 |
| - "@action-validator/cli": "^0.6.0", |
72 |
| - "@action-validator/core": "^0.6.0", |
73 |
| - "@babel/cli": "^7.12.10", |
74 |
| - "@babel/core": "^7.12.10", |
75 |
| - "@babel/eslint-parser": "^7.12.10", |
76 |
| - "@babel/eslint-plugin": "^7.12.10", |
77 |
| - "@babel/plugin-syntax-dynamic-import": "^7.8.3", |
78 |
| - "@babel/plugin-transform-class-properties": "^7.12.1", |
79 |
| - "@babel/plugin-transform-numeric-separator": "^7.12.7", |
80 |
| - "@babel/plugin-transform-object-rest-spread": "^7.12.1", |
81 |
| - "@babel/plugin-transform-runtime": "^7.12.10", |
82 |
| - "@babel/preset-env": "^7.12.11", |
83 |
| - "@babel/preset-typescript": "^7.12.7", |
84 |
| - "@casualbot/jest-sonar-reporter": "2.2.7", |
85 |
| - "@matrix-org/olm": "3.2.15", |
86 |
| - "@peculiar/webcrypto": "^1.4.5", |
87 |
| - "@types/bs58": "^4.0.1", |
88 |
| - "@types/content-type": "^1.1.5", |
89 |
| - "@types/debug": "^4.1.7", |
90 |
| - "@types/jest": "^29.0.0", |
91 |
| - "@types/node": "18", |
92 |
| - "@types/sdp-transform": "^2.4.5", |
93 |
| - "@types/uuid": "10", |
94 |
| - "@typescript-eslint/eslint-plugin": "^7.0.0", |
95 |
| - "@typescript-eslint/parser": "^7.0.0", |
96 |
| - "babel-jest": "^29.0.0", |
97 |
| - "debug": "^4.3.4", |
98 |
| - "eslint": "8.57.0", |
99 |
| - "eslint-config-google": "^0.14.0", |
100 |
| - "eslint-config-prettier": "^9.0.0", |
101 |
| - "eslint-import-resolver-typescript": "^3.5.1", |
102 |
| - "eslint-plugin-import": "^2.26.0", |
103 |
| - "eslint-plugin-jest": "^28.0.0", |
104 |
| - "eslint-plugin-jsdoc": "^48.0.0", |
105 |
| - "eslint-plugin-matrix-org": "^1.0.0", |
106 |
| - "eslint-plugin-tsdoc": "^0.3.0", |
107 |
| - "eslint-plugin-unicorn": "^54.0.0", |
108 |
| - "fake-indexeddb": "^5.0.2", |
109 |
| - "fetch-mock": "10.0.7", |
110 |
| - "fetch-mock-jest": "^1.5.1", |
111 |
| - "husky": "^9.0.0", |
112 |
| - "jest": "^29.0.0", |
113 |
| - "jest-environment-jsdom": "^29.0.0", |
114 |
| - "jest-localstorage-mock": "^2.4.6", |
115 |
| - "jest-mock": "^29.0.0", |
116 |
| - "knip": "^5.0.0", |
117 |
| - "lint-staged": "^15.0.2", |
118 |
| - "matrix-mock-request": "^2.5.0", |
119 |
| - "node-fetch": "^2.7.0", |
120 |
| - "prettier": "3.3.2", |
121 |
| - "rimraf": "^5.0.0", |
122 |
| - "ts-node": "^10.9.2", |
123 |
| - "typedoc": "^0.26.0", |
124 |
| - "typedoc-plugin-coverage": "^3.0.0", |
125 |
| - "typedoc-plugin-mdn-links": "^3.0.3", |
126 |
| - "typedoc-plugin-missing-exports": "^3.0.0", |
127 |
| - "typescript": "^5.3.3" |
128 |
| - }, |
129 |
| - "@casualbot/jest-sonar-reporter": { |
130 |
| - "outputDirectory": "coverage", |
131 |
| - "outputName": "jest-sonar-report.xml", |
132 |
| - "relativePaths": true |
133 |
| - } |
| 2 | + "name": "matrix-js-sdk", |
| 3 | + "version": "34.0.0", |
| 4 | + "description": "Matrix Client-Server SDK for Javascript", |
| 5 | + "engines": { |
| 6 | + "node": ">=20.0.0" |
| 7 | + }, |
| 8 | + "scripts": { |
| 9 | + "prepack": "yarn build", |
| 10 | + "start": "echo THIS IS FOR LEGACY PURPOSES ONLY. && babel src -w -s -d lib --verbose --extensions \".ts,.js\"", |
| 11 | + "clean": "rimraf lib", |
| 12 | + "build": "yarn build:dev", |
| 13 | + "build:dev": "yarn clean && git rev-parse HEAD > git-revision.txt && yarn build:compile && yarn build:types", |
| 14 | + "build:types": "tsc -p tsconfig-build.json --emitDeclarationOnly", |
| 15 | + "build:compile": "babel -d lib --verbose --extensions \".ts,.js\" src", |
| 16 | + "gendoc": "typedoc", |
| 17 | + "lint": "yarn lint:types && yarn lint:js && yarn lint:workflows", |
| 18 | + "lint:js": "eslint --max-warnings 0 src spec && prettier --check .", |
| 19 | + "lint:js-fix": "prettier --log-level=warn --write . && eslint --fix src spec", |
| 20 | + "lint:types": "tsc --noEmit", |
| 21 | + "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'", |
| 22 | + "lint:knip": "knip", |
| 23 | + "test": "jest", |
| 24 | + "test:watch": "jest --watch", |
| 25 | + "coverage": "yarn test --coverage" |
| 26 | + }, |
| 27 | + "repository": { |
| 28 | + "type": "git", |
| 29 | + "url": "https://github.com/matrix-org/matrix-js-sdk" |
| 30 | + }, |
| 31 | + "keywords": [ |
| 32 | + "matrix-org" |
| 33 | + ], |
| 34 | + "main": "./src/index.ts", |
| 35 | + "browser": "./src/browser-index.ts", |
| 36 | + "matrix_src_main": "./src/index.ts", |
| 37 | + "matrix_src_browser": "./src/browser-index.ts", |
| 38 | + "matrix_lib_main": "./lib/index.js", |
| 39 | + "matrix_lib_browser": "./lib/browser-index.js", |
| 40 | + "matrix_lib_typings": "./lib/index.d.ts", |
| 41 | + "author": "matrix.org", |
| 42 | + "license": "Apache-2.0", |
| 43 | + "files": [ |
| 44 | + "lib", |
| 45 | + "src", |
| 46 | + "git-revision.txt", |
| 47 | + "CHANGELOG.md", |
| 48 | + "CONTRIBUTING.rst", |
| 49 | + "LICENSE", |
| 50 | + "README.md", |
| 51 | + "package.json", |
| 52 | + "release.sh" |
| 53 | + ], |
| 54 | + "dependencies": { |
| 55 | + "@babel/runtime": "^7.12.5", |
| 56 | + "@matrix-org/matrix-sdk-crypto-wasm": "^6.0.0", |
| 57 | + "another-json": "^0.2.0", |
| 58 | + "bs58": "^6.0.0", |
| 59 | + "content-type": "^1.0.4", |
| 60 | + "jwt-decode": "^4.0.0", |
| 61 | + "loglevel": "^1.7.1", |
| 62 | + "matrix-events-sdk": "0.0.1", |
| 63 | + "matrix-widget-api": "^1.6.0", |
| 64 | + "oidc-client-ts": "^3.0.1", |
| 65 | + "p-retry": "4", |
| 66 | + "sdp-transform": "^2.14.1", |
| 67 | + "unhomoglyph": "^1.0.6", |
| 68 | + "uuid": "10" |
| 69 | + }, |
| 70 | + "devDependencies": { |
| 71 | + "@action-validator/cli": "^0.6.0", |
| 72 | + "@action-validator/core": "^0.6.0", |
| 73 | + "@babel/cli": "^7.12.10", |
| 74 | + "@babel/core": "^7.12.10", |
| 75 | + "@babel/eslint-parser": "^7.12.10", |
| 76 | + "@babel/eslint-plugin": "^7.12.10", |
| 77 | + "@babel/plugin-syntax-dynamic-import": "^7.8.3", |
| 78 | + "@babel/plugin-transform-class-properties": "^7.12.1", |
| 79 | + "@babel/plugin-transform-numeric-separator": "^7.12.7", |
| 80 | + "@babel/plugin-transform-object-rest-spread": "^7.12.1", |
| 81 | + "@babel/plugin-transform-runtime": "^7.12.10", |
| 82 | + "@babel/preset-env": "^7.12.11", |
| 83 | + "@babel/preset-typescript": "^7.12.7", |
| 84 | + "@casualbot/jest-sonar-reporter": "2.2.7", |
| 85 | + "@matrix-org/olm": "3.2.15", |
| 86 | + "@peculiar/webcrypto": "^1.4.5", |
| 87 | + "@types/bs58": "^4.0.1", |
| 88 | + "@types/content-type": "^1.1.5", |
| 89 | + "@types/debug": "^4.1.7", |
| 90 | + "@types/jest": "^29.0.0", |
| 91 | + "@types/node": "18", |
| 92 | + "@types/sdp-transform": "^2.4.5", |
| 93 | + "@types/uuid": "10", |
| 94 | + "@typescript-eslint/eslint-plugin": "^7.0.0", |
| 95 | + "@typescript-eslint/parser": "^7.0.0", |
| 96 | + "babel-jest": "^29.0.0", |
| 97 | + "debug": "^4.3.4", |
| 98 | + "eslint": "8.57.0", |
| 99 | + "eslint-config-google": "^0.14.0", |
| 100 | + "eslint-config-prettier": "^9.0.0", |
| 101 | + "eslint-import-resolver-typescript": "^3.5.1", |
| 102 | + "eslint-plugin-import": "^2.26.0", |
| 103 | + "eslint-plugin-jest": "^28.0.0", |
| 104 | + "eslint-plugin-jsdoc": "^48.0.0", |
| 105 | + "eslint-plugin-matrix-org": "^1.0.0", |
| 106 | + "eslint-plugin-tsdoc": "^0.3.0", |
| 107 | + "eslint-plugin-unicorn": "^54.0.0", |
| 108 | + "fake-indexeddb": "^5.0.2", |
| 109 | + "fetch-mock": "10.0.7", |
| 110 | + "fetch-mock-jest": "^1.5.1", |
| 111 | + "husky": "^9.0.0", |
| 112 | + "jest": "^29.0.0", |
| 113 | + "jest-environment-jsdom": "^29.0.0", |
| 114 | + "jest-localstorage-mock": "^2.4.6", |
| 115 | + "jest-mock": "^29.0.0", |
| 116 | + "knip": "^5.0.0", |
| 117 | + "lint-staged": "^15.0.2", |
| 118 | + "matrix-mock-request": "^2.5.0", |
| 119 | + "node-fetch": "^2.7.0", |
| 120 | + "prettier": "3.3.2", |
| 121 | + "rimraf": "^5.0.0", |
| 122 | + "ts-node": "^10.9.2", |
| 123 | + "typedoc": "^0.26.0", |
| 124 | + "typedoc-plugin-coverage": "^3.0.0", |
| 125 | + "typedoc-plugin-mdn-links": "^3.0.3", |
| 126 | + "typedoc-plugin-missing-exports": "^3.0.0", |
| 127 | + "typescript": "^5.3.3" |
| 128 | + }, |
| 129 | + "@casualbot/jest-sonar-reporter": { |
| 130 | + "outputDirectory": "coverage", |
| 131 | + "outputName": "jest-sonar-report.xml", |
| 132 | + "relativePaths": true |
| 133 | + } |
134 | 134 | }
|
0 commit comments