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",
|
|
|
|
"storybook": "start-storybook -p 6006",
|
2022-05-03 21:24:04 +08:00
|
|
|
"build-storybook": "build-storybook",
|
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-09-01 00:06:42 +08:00
|
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.41.0",
|
2023-09-01 05:03:50 +08:00
|
|
|
"@opentelemetry/instrumentation-document-load": "^0.33.0",
|
2023-09-01 05:07:27 +08:00
|
|
|
"@opentelemetry/instrumentation-user-interaction": "^0.33.0",
|
2023-03-10 17:33:54 +08:00
|
|
|
"@opentelemetry/sdk-trace-web": "^1.9.1",
|
2021-12-04 03:45:29 +08:00
|
|
|
"@react-aria/button": "^3.3.4",
|
|
|
|
"@react-aria/dialog": "^3.1.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-04 03:45:29 +08:00
|
|
|
"@react-stately/overlays": "^3.1.3",
|
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",
|
2021-10-07 02:38:26 +08:00
|
|
|
"@sentry/react": "^6.13.3",
|
|
|
|
"@sentry/tracing": "^6.13.3",
|
2022-04-08 05:22:36 +08:00
|
|
|
"@use-gesture/react": "^10.2.11",
|
2023-08-31 17:34:16 +08:00
|
|
|
"@vector-im/compound-design-tokens": "^0.0.5",
|
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",
|
2021-07-31 07:55:25 +08:00
|
|
|
"classnames": "^2.3.1",
|
2021-07-29 07:14:38 +08:00
|
|
|
"color-hash": "^2.0.1",
|
2021-07-17 05:22:03 +08:00
|
|
|
"events": "^3.3.0",
|
2022-10-10 21:19:10 +08:00
|
|
|
"i18next": "^21.10.0",
|
|
|
|
"i18next-browser-languagedetector": "^6.1.8",
|
|
|
|
"i18next-http-backend": "^1.4.4",
|
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-07-13 00:57:54 +08:00
|
|
|
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#b698217445318f453e0b1086364a33113eaa85d9",
|
2023-03-22 23:33:50 +08:00
|
|
|
"matrix-widget-api": "^1.3.1",
|
2023-08-30 22:01:06 +08:00
|
|
|
"mermaid": "^9.0.0",
|
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",
|
2022-07-09 00:19:13 +08:00
|
|
|
"postcss-preset-env": "^7",
|
2022-11-04 20:07:14 +08:00
|
|
|
"posthog-js": "^1.29.0",
|
2021-08-21 01:30:59 +08:00
|
|
|
"re-resizable": "^6.9.0",
|
2022-10-26 16:47:44 +08:00
|
|
|
"react": "18",
|
|
|
|
"react-dom": "18",
|
2022-10-10 21:19:10 +08:00
|
|
|
"react-i18next": "^11.18.6",
|
2021-10-16 07:41:23 +08:00
|
|
|
"react-json-view": "^1.21.3",
|
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-07-21 12:51:07 +08:00
|
|
|
"uuid": "9"
|
2021-07-17 05:22:03 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-12-24 04:45:00 +08:00
|
|
|
"@babel/core": "^7.16.5",
|
2023-01-03 18:48:48 +08:00
|
|
|
"@sentry/vite-plugin": "^0.3.0",
|
2021-12-24 04:45:00 +08:00
|
|
|
"@storybook/react": "^6.5.0-alpha.5",
|
2022-10-26 16:47:44 +08:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
|
|
"@testing-library/react": "^13.4.0",
|
2023-07-21 12:51:07 +08:00
|
|
|
"@types/content-type": "^1.1.5",
|
2023-08-31 21:31:12 +08:00
|
|
|
"@types/d3": "^7.4.0",
|
2023-07-21 12:51:07 +08:00
|
|
|
"@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-07-25 22:57:43 +08:00
|
|
|
"@types/node": "^18.13.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",
|
2021-12-24 04:45:00 +08:00
|
|
|
"babel-loader": "^8.2.3",
|
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",
|
2022-05-03 22:32:16 +08:00
|
|
|
"eslint-config-prettier": "^8.5.0",
|
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",
|
|
|
|
"eslint-plugin-matrix-org": "^0.4.0",
|
|
|
|
"eslint-plugin-react": "^7.29.4",
|
|
|
|
"eslint-plugin-react-hooks": "^4.5.0",
|
2022-10-10 21:19:10 +08:00
|
|
|
"i18next-parser": "^6.6.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",
|
2022-05-03 21:24:04 +08:00
|
|
|
"prettier": "^2.6.2",
|
2021-09-30 05:34:29 +08:00
|
|
|
"sass": "^1.42.1",
|
2021-12-24 04:45:00 +08:00
|
|
|
"storybook-builder-vite": "^0.1.12",
|
2023-07-21 12:51:07 +08:00
|
|
|
"typescript": "^5.1.6",
|
2023-07-01 06:21:18 +08:00
|
|
|
"vite": "^4.2.0",
|
2022-02-03 13:48:44 +08:00
|
|
|
"vite-plugin-html-template": "^1.1.0",
|
2023-07-01 06:21:18 +08:00
|
|
|
"vite-plugin-svgr": "^3.2.0"
|
2022-10-26 16:47:44 +08:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"testEnvironment": "jsdom",
|
|
|
|
"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",
|
|
|
|
"\\.svg$": "<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
|
|
|
}
|