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",
|
|
|
|
"build": "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 .",
|
2022-06-06 23:21:51 +08:00
|
|
|
"lint": "yarn lint:types && yarn lint:js",
|
2022-05-27 22:37:27 +08:00
|
|
|
"lint:js": "eslint --max-warnings 0 src",
|
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",
|
|
|
|
"test": "jest"
|
2021-07-17 05:22:03 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-01-22 05:21:23 +08:00
|
|
|
"@juggle/resize-observer": "^3.3.1",
|
2023-01-09 23:49:01 +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",
|
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-05-27 22:37:27 +08:00
|
|
|
"@types/grecaptcha": "^3.0.4",
|
2022-06-14 05:24:25 +08:00
|
|
|
"@types/sdp-transform": "^2.4.5",
|
2022-04-08 05:22:36 +08:00
|
|
|
"@use-gesture/react": "^10.2.11",
|
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-01-17 01:27:49 +08:00
|
|
|
"lodash": "^4.17.21",
|
2023-03-22 23:41:41 +08:00
|
|
|
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#f795577e14d5e56b2f57d4b9a686d832c5210e3d",
|
2023-03-22 23:33:50 +08:00
|
|
|
"matrix-widget-api": "^1.3.1",
|
2022-01-14 06:11:06 +08:00
|
|
|
"mermaid": "^8.13.8",
|
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-11-20 02:47:40 +08:00
|
|
|
"react-router": "6",
|
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",
|
2022-02-16 04:46:58 +08:00
|
|
|
"unique-names-generator": "^4.6.0"
|
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",
|
2022-05-11 01:09:17 +08:00
|
|
|
"@types/request": "^2.48.8",
|
2022-05-06 18:32:09 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
|
|
|
"@typescript-eslint/parser": "^5.22.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",
|
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",
|
2022-05-06 18:32:09 +08:00
|
|
|
"typescript": "^4.6.4",
|
2022-09-15 20:29:55 +08:00
|
|
|
"typescript-strict-plugin": "^2.0.1",
|
2021-09-30 08:01:53 +08:00
|
|
|
"vite": "^2.4.2",
|
2022-02-03 13:48:44 +08:00
|
|
|
"vite-plugin-html-template": "^1.1.0",
|
2021-09-30 08:01:53 +08:00
|
|
|
"vite-plugin-svgr": "^0.4.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": {
|
|
|
|
"\\.(css|less|svg)+$": "identity-obj-proxy",
|
2022-11-01 01:43:03 +08:00
|
|
|
"^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts",
|
|
|
|
"^\\./olm$": "<rootDir>/test/mocks/olmMock.ts"
|
2022-10-26 16:47:44 +08:00
|
|
|
}
|
2021-07-17 05:22:03 +08:00
|
|
|
}
|
2022-09-13 23:39:14 +08:00
|
|
|
}
|