mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-21 00:28:08 +08:00
f4f5c1ed31
This version is not supposed to properly work, this is a work in progress. Main changes: * Completely removed the PTT logic (for simplicity, it could be introduced later). * Abstracted away the work with the media devices. * Defined confined interfaces of the affected components so that they only get the data that they need without importing Matris JS SDK or LiveKit SDK, so that we can exchange their "backend" at any time. * Started using JS/TS SDK from LiveKit as well as their React SDK to define the state of the local media devices and local streams.
118 lines
3.9 KiB
JSON
118 lines
3.9 KiB
JSON
{
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"serve": "vite preview",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build-storybook": "build-storybook",
|
|
"prettier:check": "prettier -c .",
|
|
"prettier:format": "prettier -w .",
|
|
"lint": "yarn lint:types && yarn lint:js",
|
|
"lint:js": "eslint --max-warnings 0 src",
|
|
"lint:types": "tsc",
|
|
"i18n": "node_modules/i18next-parser/bin/cli.js",
|
|
"i18n:check": "node_modules/i18next-parser/bin/cli.js --fail-on-warnings --fail-on-update",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@juggle/resize-observer": "^3.3.1",
|
|
"@livekit/components-react": "^1.0.3",
|
|
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.14.tgz",
|
|
"@react-aria/button": "^3.3.4",
|
|
"@react-aria/dialog": "^3.1.4",
|
|
"@react-aria/focus": "^3.5.0",
|
|
"@react-aria/menu": "^3.3.0",
|
|
"@react-aria/overlays": "^3.7.3",
|
|
"@react-aria/select": "^3.6.0",
|
|
"@react-aria/tabs": "^3.1.0",
|
|
"@react-aria/tooltip": "^3.1.3",
|
|
"@react-aria/utils": "^3.10.0",
|
|
"@react-spring/web": "^9.4.4",
|
|
"@react-stately/collections": "^3.3.4",
|
|
"@react-stately/overlays": "^3.1.3",
|
|
"@react-stately/select": "^3.1.3",
|
|
"@react-stately/tooltip": "^3.0.5",
|
|
"@react-stately/tree": "^3.2.0",
|
|
"@sentry/react": "^6.13.3",
|
|
"@sentry/tracing": "^6.13.3",
|
|
"@types/grecaptcha": "^3.0.4",
|
|
"@types/sdp-transform": "^2.4.5",
|
|
"@use-gesture/react": "^10.2.11",
|
|
"classnames": "^2.3.1",
|
|
"color-hash": "^2.0.1",
|
|
"events": "^3.3.0",
|
|
"i18next": "^21.10.0",
|
|
"i18next-browser-languagedetector": "^6.1.8",
|
|
"i18next-http-backend": "^1.4.4",
|
|
"livekit-client": "^1.9.7",
|
|
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#b1757b4f9dfe8a1fbb5b8d9ed697ff8b8516413e",
|
|
"matrix-widget-api": "^1.0.0",
|
|
"mermaid": "^9.4.0-rc.2",
|
|
"normalize.css": "^8.0.1",
|
|
"pako": "^2.0.4",
|
|
"postcss-preset-env": "^7",
|
|
"posthog-js": "^1.29.0",
|
|
"re-resizable": "^6.9.0",
|
|
"react": "18",
|
|
"react-dom": "18",
|
|
"react-i18next": "^11.18.6",
|
|
"react-json-view": "^1.21.3",
|
|
"react-router": "6",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-use-clipboard": "^1.0.7",
|
|
"react-use-measure": "^2.1.1",
|
|
"sdp-transform": "^2.14.1",
|
|
"unique-names-generator": "^4.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.16.5",
|
|
"@sentry/vite-plugin": "^0.3.0",
|
|
"@storybook/react": "^6.5.0-alpha.5",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@types/node": "^18.13.0",
|
|
"@types/request": "^2.48.8",
|
|
"@typescript-eslint/eslint-plugin": "^5.52.0",
|
|
"@typescript-eslint/parser": "^5.52.0",
|
|
"babel-loader": "^8.2.3",
|
|
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
|
"eslint": "^8.14.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"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",
|
|
"i18next-parser": "^6.6.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^29.2.2",
|
|
"jest-environment-jsdom": "^29.3.1",
|
|
"prettier": "^2.6.2",
|
|
"sass": "^1.42.1",
|
|
"storybook-builder-vite": "^0.1.12",
|
|
"typescript": "^4.9.5",
|
|
"typescript-strict-plugin": "^2.0.1",
|
|
"vite": "^2.4.2",
|
|
"vite-plugin-html-template": "^1.1.0",
|
|
"vite-plugin-svgr": "^0.4.0"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"testMatch": [
|
|
"<rootDir>/test/**/*-test.[jt]s?(x)"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/(?!d3)+$",
|
|
"/node_modules/(?!internmap)+$"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|less|svg)+$": "identity-obj-proxy",
|
|
"^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts",
|
|
"^\\./olm$": "<rootDir>/test/mocks/olmMock.ts"
|
|
}
|
|
}
|
|
}
|