mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-12-07 13:43:17 +00:00
c9f5360779
Change-Id: Iee221c0a0582ad1b2e19cfba49bc512ac51db0ea
162 lines
4.2 KiB
JSON
162 lines
4.2 KiB
JSON
{
|
|
"name": "synapse-admin",
|
|
"version": "0.10.1",
|
|
"description": "Admin GUI for the Matrix.org server Synapse",
|
|
"type": "module",
|
|
"author": "Awesome Technologies Innovationslabor GmbH",
|
|
"license": "Apache-2.0",
|
|
"homepage": ".",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Awesome-Technologies/synapse-admin"
|
|
},
|
|
"packageManager": "yarn@4.1.1",
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.1.1",
|
|
"@testing-library/dom": "^10.0.0",
|
|
"@testing-library/jest-dom": "^6.0.0",
|
|
"@testing-library/react": "^15.0.2",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/lodash": "^4.17.0",
|
|
"@types/node": "^20.12.7",
|
|
"@types/papaparse": "^5.3.14",
|
|
"@types/react": "^18.3.1",
|
|
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
"@typescript-eslint/parser": "^7.8.0",
|
|
"@vitejs/plugin-react": "^4.0.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-unused-imports": "^3.2.0",
|
|
"eslint-plugin-yaml": "^0.5.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"prettier": "^3.2.5",
|
|
"react-test-renderer": "^18.3.1",
|
|
"ts-jest": "^29.1.2",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.5",
|
|
"typescript-eslint": "^7.8.0",
|
|
"vite": "^5.0.0",
|
|
"vite-plugin-version-mark": "^0.0.13"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.4.1",
|
|
"@emotion/styled": "^11.3.0",
|
|
"@haleos/ra-language-german": "^1.0.0",
|
|
"@haxqer/ra-language-chinese": "^4.16.2",
|
|
"@mui/icons-material": "^5.15.16",
|
|
"@mui/material": "^5.15.16",
|
|
"history": "^5.1.0",
|
|
"lodash": "^4.17.21",
|
|
"papaparse": "^5.4.1",
|
|
"query-string": "^7.1.1",
|
|
"ra-core": "^4.16.17",
|
|
"ra-i18n-polyglot": "^4.16.17",
|
|
"ra-language-english": "^4.16.17",
|
|
"ra-language-farsi": "^4.2.0",
|
|
"ra-language-french": "^4.16.17",
|
|
"ra-language-italian": "^3.13.1",
|
|
"react": "^18.3.1",
|
|
"react-admin": "^4.16.17",
|
|
"react-dom": "^18.3.1",
|
|
"react-hook-form": "^7.43.9",
|
|
"react-is": "^18.3.1",
|
|
"react-query": "^3.32.1",
|
|
"react-router": "^6.23.0",
|
|
"react-router-dom": "^6.23.0"
|
|
},
|
|
"scripts": {
|
|
"start": "vite serve",
|
|
"build": "vite build",
|
|
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx,.yml,.yaml .",
|
|
"fix": "yarn lint --fix",
|
|
"test": "yarn jest",
|
|
"test:watch": "yarn jest --watch"
|
|
},
|
|
"eslintConfig": {
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"plugins": [
|
|
"import",
|
|
"prettier",
|
|
"unused-imports",
|
|
"@typescript-eslint",
|
|
"yaml"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/stylistic",
|
|
"plugin:import/typescript",
|
|
"plugin:yaml/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.eslint.json"
|
|
},
|
|
"root": true,
|
|
"rules": {
|
|
"prettier/prettier": "error",
|
|
"import/no-extraneous-dependencies": [
|
|
"error",
|
|
{
|
|
"devDependencies": [
|
|
"**/vite.config.ts",
|
|
"**/jest.setup.ts",
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx"
|
|
]
|
|
}
|
|
],
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"alphabetize": {
|
|
"order": "asc",
|
|
"caseInsensitive": false
|
|
},
|
|
"newlines-between": "always",
|
|
"groups": [
|
|
"external",
|
|
"builtin",
|
|
"internal",
|
|
[
|
|
"parent",
|
|
"sibling",
|
|
"index"
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"unused-imports/no-unused-imports-ts": 2
|
|
}
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"semi": true,
|
|
"singleQuote": false,
|
|
"trailingComma": "es5",
|
|
"bracketSpacing": true,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|