2020-01-27 21:57:27 +08:00
|
|
|
{
|
|
|
|
"name": "synapse-admin",
|
2020-05-14 17:17:00 +08:00
|
|
|
"version": "0.2.1",
|
2020-01-27 21:57:27 +08:00
|
|
|
"description": "Admin GUI for the Matrix.org server Synapse",
|
|
|
|
"author": "Awesome Technologies Innovationslabor GmbH",
|
|
|
|
"license": "Apache-2.0",
|
2020-05-05 00:04:31 +08:00
|
|
|
"homepage": ".",
|
2020-01-27 21:57:27 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/Awesome-Technologies/synapse-admin"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@testing-library/jest-dom": "^5.1.1",
|
2020-04-06 17:42:49 +08:00
|
|
|
"@testing-library/react": "^10.0.2",
|
|
|
|
"@testing-library/user-event": "^10.0.1",
|
2020-02-08 20:14:12 +08:00
|
|
|
"enzyme": "^3.11.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.15.2",
|
2020-02-11 17:51:16 +08:00
|
|
|
"eslint": "^6.8.0",
|
2020-04-06 17:42:49 +08:00
|
|
|
"eslint-config-prettier": "^6.10.1",
|
2020-02-11 17:51:16 +08:00
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
2020-04-06 17:42:49 +08:00
|
|
|
"prettier": "^2.0.0"
|
2020-01-27 21:57:27 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"prop-types": "^15.7.2",
|
2020-02-07 23:29:11 +08:00
|
|
|
"ra-language-german": "^2.1.2",
|
2020-04-06 17:42:49 +08:00
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-admin": "^3.4.0",
|
|
|
|
"react-dom": "^16.13.1",
|
|
|
|
"react-scripts": "^3.4.1"
|
2020-01-27 21:57:27 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-05-14 17:17:00 +08:00
|
|
|
"start": "REACT_APP_VERSION=$(git describe --tags) react-scripts start",
|
|
|
|
"build": "REACT_APP_VERSION=$(git describe --tags) react-scripts build",
|
2020-02-11 17:51:16 +08:00
|
|
|
"fix:other": "yarn prettier --write",
|
|
|
|
"fix:code": "yarn test:lint --fix",
|
|
|
|
"fix": "yarn fix:code && yarn fix:other",
|
2020-02-19 23:29:21 +08:00
|
|
|
"prettier": "prettier \"**/*.{js,jsx,json,md,scss,yaml,yml}\"",
|
2020-02-11 17:51:16 +08:00
|
|
|
"test:code": "react-scripts test",
|
|
|
|
"test:lint": "eslint --ignore-path .gitignore --ext .js,.jsx .",
|
|
|
|
"test:style": "yarn prettier --list-different",
|
|
|
|
"test": "yarn test:style && yarn test:lint && yarn test:code",
|
2020-01-27 21:57:27 +08:00
|
|
|
"eject": "react-scripts eject"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "react-app"
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|