Uses same behavior as the Trace feature using websockets. For displaying it on the UI it needed to handle colors since the log message comes with unicode colors embbeded on the message. Also a special case when an error log comes needed to be handled to show all sources of the error.
71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"name": "portal-ui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/helper-create-regexp-features-plugin": "^7.7.4",
|
|
"@babel/plugin-transform-react-jsx-development": "^7.9.0",
|
|
"@material-ui/core": "^4.9.12",
|
|
"@material-ui/icons": "^4.9.1",
|
|
"@types/history": "^4.7.3",
|
|
"@types/jest": "24.0.23",
|
|
"@types/lodash": "^4.14.149",
|
|
"@types/node": "12.12.8",
|
|
"@types/react": "16.9.11",
|
|
"@types/react-dom": "16.9.4",
|
|
"@types/react-redux": "^7.1.5",
|
|
"@types/react-router": "^5.1.3",
|
|
"@types/react-router-dom": "^5.1.2",
|
|
"@types/recharts": "^1.8.9",
|
|
"@types/superagent": "^4.1.4",
|
|
"@types/webpack-env": "^1.14.1",
|
|
"@types/websocket": "^1.0.0",
|
|
"ansi-to-react": "^6.0.5",
|
|
"codemirror": "^5.52.2",
|
|
"history": "^4.10.1",
|
|
"local-storage-fallback": "^4.1.1",
|
|
"lodash": "^4.17.15",
|
|
"moment": "^2.24.0",
|
|
"npm": "^6.14.4",
|
|
"react": "^16.13.1",
|
|
"react-codemirror2": "^7.1.0",
|
|
"react-dom": "^16.12.0",
|
|
"react-moment": "^0.9.7",
|
|
"react-redux": "^7.1.3",
|
|
"react-router-dom": "^5.1.2",
|
|
"react-scripts": "3.4.1",
|
|
"recharts": "^1.8.5",
|
|
"redux": "^4.0.4",
|
|
"redux-thunk": "^2.3.0",
|
|
"superagent": "^5.1.0",
|
|
"typeface-roboto": "^0.0.75",
|
|
"typescript": "3.6.4",
|
|
"websocket": "^1.0.31"
|
|
},
|
|
"scripts": {
|
|
"start": "PORT=5000 react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"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"
|
|
]
|
|
},
|
|
"proxy": "http://localhost:9090/",
|
|
"devDependencies": {
|
|
"prettier": "^1.19.1"
|
|
}
|
|
}
|