Files

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

250 lines
10 KiB
JSON
Raw Permalink Normal View History

{
2020-11-24 14:05:44 +00:00
"name": "element-web",
2026-04-08 07:48:17 +00:00
"version": "1.12.15",
2025-02-04 19:14:58 +00:00
"description": "Element: the future of secure communication",
"author": "New Vector Ltd.",
"repository": {
2022-03-25 15:23:00 +00:00
"type": "git",
"url": "https://github.com/element-hq/element-web"
2022-07-28 14:03:38 +02:00
},
"license": "SEE LICENSE IN README.md",
2026-02-09 08:39:11 +00:00
"type": "module",
"matrix_i18n_extra_translation_funcs": [
"UserFriendlyError"
],
2022-07-15 14:53:21 +01:00
"scripts": {
2026-02-11 10:35:29 +00:00
"i18n": "matrix-gen-i18n src res && pnpm i18n:sort && pnpm i18n:lint",
2026-02-24 15:47:28 +00:00
"i18n:sort": "matrix-sort-i18n src/i18n/strings/en_EN.json",
"i18n:lint": "matrix-i18n-lint && prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null",
2026-02-11 10:35:29 +00:00
"i18n:diff": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && pnpm i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json",
2026-02-12 15:19:59 +00:00
"rethemendex": "sh ./res/css/rethemendex.sh",
2026-02-13 16:44:20 +00:00
"build": "nx build",
"build-stats": "nx build --json=webpack-stats.json",
2026-02-13 08:52:53 +00:00
"vendor:modernizr": "modernizr -c .modernizr.json -d src/vector/modernizr.js && mv src/vector/modernizr.js src/vector/modernizr.cjs",
"vendor:jitsi": "curl -s https://meet.element.io/libs/external_api.min.js > ./res/jitsi_external_api.min.js",
2024-11-05 18:36:34 +00:00
"dist": "./scripts/package.sh",
2026-02-13 16:44:20 +00:00
"start": "nx start",
2026-02-24 15:48:05 +00:00
"lint": "pnpm lint:types && pnpm lint:js && pnpm lint:style",
"lint:js": "eslint --max-warnings 0 src test playwright module_system",
"lint:js-fix": "eslint --fix src test playwright module_system",
2026-02-13 16:44:20 +00:00
"lint:types": "nx lint:types",
2021-07-27 14:45:51 +05:30
"lint:style": "stylelint \"res/css/**/*.pcss\"",
2026-02-13 16:44:20 +00:00
"test": "nx test:unit",
2026-04-09 15:50:51 +01:00
"test:playwright": "nx test:playwright --",
"test:playwright:open": "nx test:playwright -- --ui",
"test:playwright:screenshots": "nx test:playwright:screenshots --",
2026-02-11 10:35:29 +00:00
"coverage": "pnpm test --coverage",
2026-02-24 15:46:47 +00:00
"analyse:webpack-bundles": "webpack-bundle-analyzer webpack-stats.json webapp"
2023-03-01 09:12:23 +00:00
},
2020-01-15 13:00:50 -07:00
"dependencies": {
2022-12-21 10:50:31 -07:00
"@babel/runtime": "^7.12.5",
"@element-hq/element-web-module-api": "workspace:*",
2026-02-11 10:35:29 +00:00
"@element-hq/web-shared-components": "workspace:*",
"@fontsource/fira-code": "^5",
"@fontsource/inter": "catalog:",
"@formatjs/intl-segmenter": "^12.0.0",
"@matrix-org/analytics-events": "^0.33.0",
2025-11-24 12:08:11 +00:00
"@matrix-org/emojibase-bindings": "^1.5.0",
"@matrix-org/react-sdk-module-api": "^2.4.0",
"@sentry/browser": "^10.0.0",
2024-12-23 16:12:56 +00:00
"@types/png-chunks-extract": "^1.0.2",
"@vector-im/compound-design-tokens": "catalog:",
"@vector-im/compound-web": "catalog:",
"@vector-im/matrix-wysiwyg": "2.40.0",
2023-09-19 22:34:41 +01:00
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"@zxcvbn-ts/language-en": "^3.0.2",
2026-01-20 22:02:42 +00:00
"await-lock": "^3.0.0",
"bloom-filters": "^3.0.3",
"blurhash": "^2.0.3",
"browserslist": "^4.23.2",
2022-12-21 10:50:31 -07:00
"classnames": "^2.2.6",
2024-02-22 10:11:25 +00:00
"commonmark": "^0.31.0",
2024-09-19 22:00:02 +00:00
"css-tree": "^3.0.0",
2024-01-11 12:37:48 +00:00
"diff-dom": "^5.0.0",
2022-12-21 10:50:31 -07:00
"diff-match-patch": "^1.0.5",
2026-04-02 15:28:43 +01:00
"domutils": "^4.0.0",
2025-11-24 12:08:11 +00:00
"emojibase-regex": "^17.0.0",
2022-12-21 10:50:31 -07:00
"escape-html": "^1.0.3",
"file-saver": "^2.0.5",
2026-04-08 07:40:43 +00:00
"filesize": "11.0.15",
"github-markdown-css": "^5.5.1",
2022-12-21 10:50:31 -07:00
"glob-to-regexp": "^0.4.1",
"highlight.js": "^11.3.1",
"html-entities": "^2.0.0",
"html-react-parser": "^6.0.0",
2025-12-09 16:36:22 +00:00
"is-ip": "^5.0.0",
2025-11-25 16:37:52 +00:00
"js-xxhash": "^5.0.0",
"jsrsasign": "^11.0.0",
2022-12-21 10:50:31 -07:00
"jszip": "^3.7.0",
2023-07-18 15:21:32 +01:00
"katex": "^0.16.0",
2026-04-08 10:10:03 +00:00
"lodash": "npm:lodash-es@4.18.1",
"maplibre-gl": "^5.0.0",
2022-12-21 10:50:31 -07:00
"matrix-encrypt-attachment": "^1.0.3",
2026-04-07 13:27:46 +00:00
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop",
"matrix-widget-api": "^1.16.1",
"memoize-one": "^6.0.0",
2024-11-06 23:14:38 +00:00
"mime": "^4.0.4",
"oidc-client-ts": "^3.0.1",
2022-12-21 10:50:31 -07:00
"opus-recorder": "^8.0.3",
"pako": "^2.0.3",
"png-chunks-extract": "^1.0.0",
2026-04-22 13:44:05 +00:00
"posthog-js": "1.369.3",
2024-08-28 16:14:26 +01:00
"qrcode": "1.5.4",
2025-03-04 17:03:32 +00:00
"re-resizable": "6.11.2",
2026-02-11 10:35:29 +00:00
"react": "catalog:",
2022-12-21 10:50:31 -07:00
"react-beautiful-dnd": "^13.1.0",
2023-03-06 17:21:09 +00:00
"react-blurhash": "^0.3.0",
2026-02-11 10:35:29 +00:00
"react-dom": "catalog:",
2022-12-21 10:50:31 -07:00
"react-focus-lock": "^2.5.1",
"react-string-replace": "^2.0.0",
2022-12-21 10:50:31 -07:00
"react-transition-group": "^4.4.1",
"rfc4648": "^1.4.0",
"sanitize-filename": "^1.6.3",
"sanitize-html": "2.17.3",
2022-12-21 10:50:31 -07:00
"tar-js": "^0.3.0",
2025-09-03 10:56:55 +01:00
"ua-parser-js": "1.0.40",
2025-01-14 14:18:55 +00:00
"what-input": "^5.2.10"
2022-12-09 13:28:29 +01:00
},
"devDependencies": {
2021-01-27 14:10:51 +00:00
"@babel/core": "^7.12.10",
2021-06-30 13:24:16 +01:00
"@babel/eslint-parser": "^7.12.10",
"@babel/eslint-plugin": "^7.12.10",
"@babel/plugin-proposal-decorators": "^7.25.9",
2021-01-27 14:10:51 +00:00
"@babel/plugin-proposal-export-default-from": "^7.12.1",
2020-01-15 13:00:50 -07:00
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
2024-06-18 16:33:22 +01:00
"@babel/plugin-transform-class-properties": "^7.12.1",
"@babel/plugin-transform-class-static-block": "^7.26.0",
2024-06-18 16:33:22 +01:00
"@babel/plugin-transform-logical-assignment-operators": "^7.20.7",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-transform-numeric-separator": "^7.12.7",
"@babel/plugin-transform-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-optional-chaining": "^7.12.7",
2020-01-15 13:00:50 -07:00
"@babel/plugin-transform-runtime": "^7.12.10",
2021-01-27 14:10:51 +00:00
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@casualbot/jest-sonar-reporter": "2.6.0",
"@element-hq/element-call-embedded": "0.19.1",
2026-04-09 15:22:56 +01:00
"@element-hq/element-web-playwright-common": "workspace:*",
"@fetch-mock/jest": "^0.2.20",
2026-02-11 10:35:29 +00:00
"@jest/globals": "^30.2.0",
2023-04-06 13:17:50 +01:00
"@peculiar/webcrypto": "^1.4.3",
"@playwright/test": "catalog:",
"@principalstudio/html-webpack-inject-preload": "^1.2.7",
"@sentry/webpack-plugin": "^5.0.0",
"@stylistic/eslint-plugin": "^5.0.0",
2024-03-12 18:51:51 +00:00
"@svgr/webpack": "^8.0.0",
2024-10-21 14:50:06 +01:00
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
2022-12-21 10:50:31 -07:00
"@types/commonmark": "^0.27.4",
"@types/content-type": "^1.1.9",
2022-12-21 10:50:31 -07:00
"@types/counterpart": "^0.18.1",
"@types/css-tree": "^2.3.8",
2022-12-21 10:50:31 -07:00
"@types/diff-match-patch": "^1.0.32",
"@types/escape-html": "^1.0.1",
"@types/express": "^5.0.0",
2022-12-21 10:50:31 -07:00
"@types/file-saver": "^2.0.3",
2023-02-13 11:39:16 +00:00
"@types/glob-to-regexp": "^0.4.1",
2025-11-13 10:50:33 +00:00
"@types/jest": "30.0.0",
"@types/jitsi-meet": "^2.0.2",
"@types/jsrsasign": "^10.5.4",
2022-12-21 10:50:31 -07:00
"@types/lodash": "^4.14.168",
"@types/modernizr": "^3.5.3",
2026-02-11 10:35:29 +00:00
"@types/node": "22",
2022-12-21 10:50:31 -07:00
"@types/pako": "^2.0.0",
2026-02-16 10:10:24 +00:00
"@types/postcss-import": "^14.0.3",
2022-12-21 10:50:31 -07:00
"@types/qrcode": "^1.3.5",
2026-02-11 10:35:29 +00:00
"@types/react": "catalog:",
2022-12-21 10:50:31 -07:00
"@types/react-beautiful-dnd": "^13.0.0",
2026-02-11 10:35:29 +00:00
"@types/react-dom": "catalog:",
2022-12-21 10:50:31 -07:00
"@types/react-transition-group": "^4.4.0",
2026-03-20 19:41:13 +00:00
"@types/sanitize-html": "2.16.1",
"@types/sdp-transform": "^2.4.10",
2024-05-15 15:51:11 +01:00
"@types/semver": "^7.5.8",
2023-11-28 17:26:07 +00:00
"@types/tar-js": "^0.3.5",
2020-01-15 13:00:50 -07:00
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
2025-11-13 10:50:33 +00:00
"babel-jest": "^30.0.0",
"babel-loader": "^10.0.0",
2024-01-05 10:46:39 +00:00
"babel-plugin-jsx-remove-data-test-id": "^3.0.0",
"blob-polyfill": "^9.0.0",
"copy-webpack-plugin": "^14.0.0",
2024-04-16 12:46:06 +00:00
"css-loader": "^7.0.0",
"css-minimizer-webpack-plugin": "^8.0.0",
2025-07-08 15:14:40 +00:00
"dotenv": "^17.0.0",
2024-09-19 19:25:14 +00:00
"eslint": "8.57.1",
2021-06-30 13:24:16 +01:00
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^10.0.0",
2026-03-03 16:51:43 +00:00
"eslint-plugin-deprecate": "0.9.0",
2022-12-21 10:50:31 -07:00
"eslint-plugin-import": "^2.25.4",
2025-10-15 10:44:06 +00:00
"eslint-plugin-jest": "^29.0.0",
2022-12-21 10:50:31 -07:00
"eslint-plugin-jsx-a11y": "^6.5.1",
2025-10-15 10:08:35 +00:00
"eslint-plugin-matrix-org": "^3.0.0",
2022-02-24 10:27:25 +01:00
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-compiler": "^19.0.0-beta-df7b47d-20241124",
2025-10-15 10:44:06 +00:00
"eslint-plugin-react-hooks": "^7.0.0",
"eslint-plugin-unicorn": "^56.0.0",
2025-04-15 15:30:58 +00:00
"express": "^5.0.0",
2024-06-11 12:45:25 +00:00
"fake-indexeddb": "^6.0.0",
2022-11-29 18:44:51 +00:00
"file-loader": "^6.0.0",
2023-09-23 21:34:56 +02:00
"html-webpack-plugin": "^5.5.3",
"identity-obj-proxy": "^3.0.0",
2025-11-13 10:50:33 +00:00
"jest": "^30.0.0",
2023-08-16 11:20:48 +01:00
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^30.2.0",
"jest-fixed-jsdom": "^0.0.11",
2025-11-13 10:50:33 +00:00
"jest-mock": "^30.0.0",
2021-07-27 14:45:51 +05:30
"jest-raw-loader": "^1.0.1",
2023-07-13 14:56:15 +01:00
"jsqr": "^1.4.0",
"matrix-web-i18n": "catalog:",
"mini-css-extract-plugin": "2.10.2",
"modernizr": "^3.12.0",
2026-03-05 21:42:08 +00:00
"playwright-core": "catalog:",
2026-04-21 20:28:54 +01:00
"postcss": "8.5.10",
2026-02-11 10:35:29 +00:00
"postcss-easings": "4.0.0",
2024-03-07 11:38:08 +00:00
"postcss-hexrgba": "2.1.0",
2026-02-05 11:06:37 +00:00
"postcss-import": "16.1.1",
2026-03-20 15:17:07 +00:00
"postcss-loader": "8.2.1",
"postcss-mixins": "12.1.2",
2026-02-11 10:35:29 +00:00
"postcss-nested": "7.0.2",
2026-04-21 20:28:54 +01:00
"postcss-preset-env": "11.2.1",
2026-02-11 10:35:29 +00:00
"postcss-scss": "4.0.9",
"postcss-simple-vars": "7.0.1",
2026-04-22 13:44:05 +00:00
"prettier": "3.8.3",
2023-09-23 21:34:56 +02:00
"process": "^0.11.10",
2021-07-27 14:45:51 +05:30
"raw-loader": "^4.0.2",
2023-06-26 09:29:13 +01:00
"semver": "^7.5.2",
"source-map-loader": "^5.0.0",
2026-01-20 15:20:32 +00:00
"stylelint": "^17.0.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-scss": "^7.0.0",
"stylelint-value-no-unknown-custom-properties": "^6.0.1",
2023-09-23 21:34:56 +02:00
"terser-webpack-plugin": "^5.3.9",
"testcontainers": "^11.0.0",
2026-02-11 10:35:29 +00:00
"typescript": "catalog:",
2023-09-23 21:34:56 +02:00
"util": "^0.12.5",
2024-10-15 14:57:26 +01:00
"web-streams-polyfill": "^4.0.0",
2023-11-08 09:15:27 +01:00
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^5.0.0",
"webpack-cli": "^7.0.0",
2024-03-05 15:17:43 +00:00
"webpack-dev-server": "^5.0.0",
"webpack-retry-chunk-load-plugin": "^3.1.1",
"webpack-version-file-plugin": "^0.5.0",
"yaml": "^2.3.3"
2022-12-09 13:28:29 +01:00
},
"@casualbot/jest-sonar-reporter": {
"outputDirectory": "coverage",
"outputName": "jest-sonar-report.xml",
"relativePaths": true
2024-07-09 15:49:50 +01:00
},
"engines": {
2025-11-19 17:36:00 +00:00
"node": ">=22.18"
},
2026-03-31 20:54:22 +00:00
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
2026-02-11 10:35:29 +00:00
"private": true
2024-03-12 19:55:48 +00:00
}