2021-07-17 05:22:03 +08:00
|
|
|
{
|
|
|
|
"version": "0.0.0",
|
2022-10-10 21:19:10 +08:00
|
|
|
"type": "module",
|
2021-07-17 05:22:03 +08:00
|
|
|
"scripts": {
|
|
|
|
"dev": "vite",
|
2023-04-13 18:35:49 +08:00
|
|
|
"build": "NODE_OPTIONS=--max-old-space-size=16384 vite build",
|
2021-12-24 04:45:00 +08:00
|
|
|
"serve": "vite preview",
|
2022-12-10 03:34:25 +08:00
|
|
|
"prettier:check": "prettier -c .",
|
|
|
|
"prettier:format": "prettier -w .",
|
2023-06-30 23:43:28 +08:00
|
|
|
"lint": "yarn lint:types && yarn lint:eslint",
|
|
|
|
"lint:eslint": "eslint --max-warnings 0 src",
|
|
|
|
"lint:eslint-fix": "eslint --max-warnings 0 src --fix",
|
2022-10-10 21:19:10 +08:00
|
|
|
"lint:types": "tsc",
|
2022-10-24 22:53:55 +08:00
|
|
|
"i18n": "node_modules/i18next-parser/bin/cli.js",
|
2022-10-26 16:47:44 +08:00
|
|
|
"i18n:check": "node_modules/i18next-parser/bin/cli.js --fail-on-warnings --fail-on-update",
|
2023-06-12 21:52:27 +08:00
|
|
|
"test": "jest",
|
|
|
|
"backend": "docker-compose -f backend-docker-compose.yml up"
|
2021-07-17 05:22:03 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-01-22 05:21:23 +08:00
|
|
|
"@juggle/resize-observer": "^3.3.1",
|
2023-08-30 16:50:12 +08:00
|
|
|
"@livekit/components-react": "^1.1.0",
|
2022-12-22 02:46:19 +08:00
|
|
|
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.14.tgz",
|
2023-03-10 17:33:54 +08:00
|
|
|
"@opentelemetry/api": "^1.4.0",
|
|
|
|
"@opentelemetry/context-zone": "^1.9.1",
|
|
|
|
"@opentelemetry/exporter-jaeger": "^1.9.1",
|
2023-11-07 19:37:13 +08:00
|
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.45.0",
|
2023-11-29 20:06:25 +08:00
|
|
|
"@opentelemetry/instrumentation-document-load": "^0.34.0",
|
2023-11-30 05:42:20 +08:00
|
|
|
"@opentelemetry/instrumentation-user-interaction": "^0.34.0",
|
2023-03-10 17:33:54 +08:00
|
|
|
"@opentelemetry/sdk-trace-web": "^1.9.1",
|
2023-09-18 02:25:32 +08:00
|
|
|
"@radix-ui/react-dialog": "^1.0.4",
|
|
|
|
"@radix-ui/react-visually-hidden": "^1.0.3",
|
2021-12-04 03:45:29 +08:00
|
|
|
"@react-aria/button": "^3.3.4",
|
|
|
|
"@react-aria/focus": "^3.5.0",
|
2021-12-04 08:42:29 +08:00
|
|
|
"@react-aria/menu": "^3.3.0",
|
2021-12-04 03:45:29 +08:00
|
|
|
"@react-aria/overlays": "^3.7.3",
|
2021-12-07 09:34:10 +08:00
|
|
|
"@react-aria/select": "^3.6.0",
|
|
|
|
"@react-aria/tabs": "^3.1.0",
|
2021-12-15 14:00:00 +08:00
|
|
|
"@react-aria/tooltip": "^3.1.3",
|
2021-12-04 03:45:29 +08:00
|
|
|
"@react-aria/utils": "^3.10.0",
|
2022-04-08 05:22:36 +08:00
|
|
|
"@react-spring/web": "^9.4.4",
|
2021-12-04 08:42:29 +08:00
|
|
|
"@react-stately/collections": "^3.3.4",
|
2021-12-07 09:34:10 +08:00
|
|
|
"@react-stately/select": "^3.1.3",
|
2021-12-15 14:00:00 +08:00
|
|
|
"@react-stately/tooltip": "^3.0.5",
|
2021-12-04 08:42:29 +08:00
|
|
|
"@react-stately/tree": "^3.2.0",
|
2023-09-27 09:08:38 +08:00
|
|
|
"@sentry/react": "^7.0.0",
|
|
|
|
"@sentry/tracing": "^7.0.0",
|
2023-09-28 06:16:28 +08:00
|
|
|
"@types/lodash": "^4.14.199",
|
2022-04-08 05:22:36 +08:00
|
|
|
"@use-gesture/react": "^10.2.11",
|
2023-11-15 09:19:22 +08:00
|
|
|
"@vector-im/compound-design-tokens": "^0.1.0",
|
2023-10-25 20:28:03 +08:00
|
|
|
"@vector-im/compound-web": "^0.6.0",
|
2023-07-12 19:55:21 +08:00
|
|
|
"@vitejs/plugin-basic-ssl": "^1.0.1",
|
2023-07-01 06:21:18 +08:00
|
|
|
"@vitejs/plugin-react": "^4.0.1",
|
2023-09-28 06:16:28 +08:00
|
|
|
"buffer": "^6.0.3",
|
2021-07-31 07:55:25 +08:00
|
|
|
"classnames": "^2.3.1",
|
2021-07-17 05:22:03 +08:00
|
|
|
"events": "^3.3.0",
|
2023-09-26 00:28:17 +08:00
|
|
|
"i18next": "^23.0.0",
|
2023-09-20 02:45:14 +08:00
|
|
|
"i18next-browser-languagedetector": "^7.0.0",
|
2023-09-26 00:04:50 +08:00
|
|
|
"i18next-http-backend": "^2.0.0",
|
2023-08-30 16:50:12 +08:00
|
|
|
"livekit-client": "^1.12.3",
|
2023-01-17 01:27:49 +08:00
|
|
|
"lodash": "^4.17.21",
|
2023-11-17 01:55:11 +08:00
|
|
|
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#eca651c0c2ff0600bdae0bb6aba43485e48b69d5",
|
2023-03-22 23:33:50 +08:00
|
|
|
"matrix-widget-api": "^1.3.1",
|
2022-01-05 08:00:13 +08:00
|
|
|
"normalize.css": "^8.0.1",
|
2022-02-02 07:11:06 +08:00
|
|
|
"pako": "^2.0.4",
|
2023-09-27 00:10:50 +08:00
|
|
|
"postcss-preset-env": "^9.0.0",
|
2022-11-04 20:07:14 +08:00
|
|
|
"posthog-js": "^1.29.0",
|
2022-10-26 16:47:44 +08:00
|
|
|
"react": "18",
|
|
|
|
"react-dom": "18",
|
2023-09-26 00:31:27 +08:00
|
|
|
"react-i18next": "^13.0.0",
|
2021-12-04 03:45:29 +08:00
|
|
|
"react-router-dom": "^5.2.0",
|
2022-01-22 05:21:23 +08:00
|
|
|
"react-use-clipboard": "^1.0.7",
|
2022-02-16 04:46:58 +08:00
|
|
|
"react-use-measure": "^2.1.1",
|
2022-06-14 01:31:44 +08:00
|
|
|
"sdp-transform": "^2.14.1",
|
2023-01-25 15:30:52 +08:00
|
|
|
"tinyqueue": "^2.0.3",
|
2023-07-12 23:11:01 +08:00
|
|
|
"unique-names-generator": "^4.6.0",
|
2023-09-18 02:25:32 +08:00
|
|
|
"uuid": "9",
|
2023-10-05 22:25:27 +08:00
|
|
|
"vaul": "^0.7.0"
|
2021-07-17 05:22:03 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-24 04:45:00 +08:00
|
|
|
"@babel/core": "^7.16.5",
|
2023-09-28 06:16:28 +08:00
|
|
|
"@babel/preset-env": "^7.22.20",
|
|
|
|
"@babel/preset-react": "^7.22.15",
|
|
|
|
"@babel/preset-typescript": "^7.23.0",
|
2023-09-01 21:19:44 +08:00
|
|
|
"@react-spring/rafz": "^9.7.3",
|
2023-09-18 02:35:35 +08:00
|
|
|
"@react-types/dialog": "^3.5.5",
|
2023-09-19 21:01:09 +08:00
|
|
|
"@sentry/vite-plugin": "^2.0.0",
|
2023-09-20 00:04:01 +08:00
|
|
|
"@testing-library/jest-dom": "^6.0.0",
|
2023-09-19 23:16:13 +08:00
|
|
|
"@testing-library/react": "^14.0.0",
|
2023-09-28 05:34:41 +08:00
|
|
|
"@testing-library/user-event": "^14.5.1",
|
2023-07-21 12:51:07 +08:00
|
|
|
"@types/content-type": "^1.1.5",
|
|
|
|
"@types/dom-screen-wake-lock": "^1.0.1",
|
2023-08-31 21:31:12 +08:00
|
|
|
"@types/dompurify": "^3.0.2",
|
2023-07-21 12:51:07 +08:00
|
|
|
"@types/grecaptcha": "^3.0.4",
|
2023-09-26 02:41:52 +08:00
|
|
|
"@types/jest": "^29.5.5",
|
2023-10-24 09:26:02 +08:00
|
|
|
"@types/node": "^20.0.0",
|
2023-07-21 12:51:07 +08:00
|
|
|
"@types/react-router-dom": "^5.3.3",
|
2023-07-25 22:57:43 +08:00
|
|
|
"@types/request": "^2.48.8",
|
2023-07-21 12:51:07 +08:00
|
|
|
"@types/sdp-transform": "^2.4.5",
|
|
|
|
"@types/uuid": "9",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
|
|
"@typescript-eslint/parser": "^6.1.0",
|
2023-09-19 23:16:27 +08:00
|
|
|
"babel-loader": "^9.0.0",
|
2022-10-26 16:47:44 +08:00
|
|
|
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
2022-05-03 22:32:16 +08:00
|
|
|
"eslint": "^8.14.0",
|
2022-05-06 18:32:09 +08:00
|
|
|
"eslint-config-google": "^0.14.0",
|
2023-09-20 00:04:15 +08:00
|
|
|
"eslint-config-prettier": "^9.0.0",
|
2023-09-23 06:05:13 +08:00
|
|
|
"eslint-plugin-deprecate": "^0.8.2",
|
2022-05-06 18:32:09 +08:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-05-03 22:32:16 +08:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
2023-09-23 06:05:13 +08:00
|
|
|
"eslint-plugin-matrix-org": "^1.2.1",
|
2022-05-03 22:32:16 +08:00
|
|
|
"eslint-plugin-react": "^7.29.4",
|
|
|
|
"eslint-plugin-react-hooks": "^4.5.0",
|
2023-10-30 22:26:25 +08:00
|
|
|
"eslint-plugin-unicorn": "^49.0.0",
|
2023-09-26 00:22:46 +08:00
|
|
|
"i18next-parser": "^8.0.0",
|
2022-10-26 16:47:44 +08:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
|
|
|
"jest": "^29.2.2",
|
2022-11-29 05:15:47 +08:00
|
|
|
"jest-environment-jsdom": "^29.3.1",
|
2023-07-03 20:03:29 +08:00
|
|
|
"jest-mock": "^29.5.0",
|
2023-10-11 22:38:05 +08:00
|
|
|
"prettier": "^3.0.0",
|
2021-09-30 05:34:29 +08:00
|
|
|
"sass": "^1.42.1",
|
2023-07-21 12:51:07 +08:00
|
|
|
"typescript": "^5.1.6",
|
2023-09-23 06:05:13 +08:00
|
|
|
"typescript-eslint-language-service": "^5.0.5",
|
2023-12-01 17:52:51 +08:00
|
|
|
"vite": "^5.0.0",
|
2022-02-03 13:48:44 +08:00
|
|
|
"vite-plugin-html-template": "^1.1.0",
|
2023-09-27 03:36:47 +08:00
|
|
|
"vite-plugin-svgr": "^4.0.0"
|
2022-10-26 16:47:44 +08:00
|
|
|
},
|
|
|
|
"jest": {
|
2023-09-02 01:23:24 +08:00
|
|
|
"testEnvironment": "./test/environment.ts",
|
2022-10-26 16:47:44 +08:00
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/test/**/*-test.[jt]s?(x)"
|
|
|
|
],
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"/node_modules/(?!d3)+$",
|
|
|
|
"/node_modules/(?!internmap)+$"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2023-07-01 06:45:32 +08:00
|
|
|
"\\.css$": "identity-obj-proxy",
|
2023-09-28 07:06:10 +08:00
|
|
|
"\\.svg\\?react$": "<rootDir>/test/mocks/svgr.ts",
|
2022-11-01 01:43:03 +08:00
|
|
|
"^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts",
|
|
|
|
"^\\./olm$": "<rootDir>/test/mocks/olmMock.ts"
|
2023-06-15 00:36:26 +08:00
|
|
|
},
|
|
|
|
"collectCoverage": true,
|
|
|
|
"coverageReporters": [
|
|
|
|
"text",
|
|
|
|
"cobertura"
|
|
|
|
]
|
2021-07-17 05:22:03 +08:00
|
|
|
}
|
2022-09-13 23:39:14 +08:00
|
|
|
}
|