mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
f72cabb437
* Add sorting and filtering to flags page Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * Make filter understand Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * split big state object into smaller ones Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * use fuzzy match and sanitize html for search results Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * use fuzzy.filter Signed-off-by: Dustin Hooten <dustinhooten@gmail.com> * replace fuzzy lib by @nexucis/fuzzy + fix flags issues Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * replace fuzzy by @nexucis/fuzzy in ExpressionInput.tsx Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * remove fuzzy lib from package.json Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * fix flags test Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * simplify the input in the fuzzy search Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * cleanup html to be easily compatible with the dark theme Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * fix filtering when there is no result Signed-off-by: Augustin Husson <husson.augustin@gmail.com> * use id to fix the test Signed-off-by: Augustin Husson <husson.augustin@gmail.com> Co-authored-by: Dustin Hooten <dustinhooten@gmail.com>
115 lines
3.5 KiB
JSON
115 lines
3.5 KiB
JSON
{
|
|
"name": "graph",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@codemirror/autocomplete": "^0.18.3",
|
|
"@codemirror/closebrackets": "^0.18.0",
|
|
"@codemirror/commands": "^0.18.0",
|
|
"@codemirror/comment": "^0.18.0",
|
|
"@codemirror/highlight": "^0.18.3",
|
|
"@codemirror/history": "^0.18.0",
|
|
"@codemirror/language": "^0.18.0",
|
|
"@codemirror/lint": "^0.18.1",
|
|
"@codemirror/matchbrackets": "^0.18.0",
|
|
"@codemirror/search": "^0.18.2",
|
|
"@codemirror/state": "^0.18.2",
|
|
"@codemirror/view": "^0.18.3",
|
|
"@forevolve/bootstrap-dark": "^1.0.0",
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.14",
|
|
"@fortawesome/free-solid-svg-icons": "^5.7.1",
|
|
"@fortawesome/react-fontawesome": "^0.1.4",
|
|
"@nexucis/fuzzy": "^0.2.2",
|
|
"@reach/router": "^1.2.1",
|
|
"bootstrap": "^4.6.0",
|
|
"codemirror-promql": "^0.16.0",
|
|
"css.escape": "^1.5.1",
|
|
"downshift": "^3.4.8",
|
|
"enzyme-to-json": "^3.4.3",
|
|
"i": "^0.3.6",
|
|
"jquery": "^3.5.1",
|
|
"jquery.flot.tooltip": "^0.9.0",
|
|
"jsdom": "^16.4.0",
|
|
"moment": "^2.24.0",
|
|
"moment-timezone": "^0.5.23",
|
|
"popper.js": "^1.14.3",
|
|
"react": "^16.7.0",
|
|
"react-copy-to-clipboard": "^5.0.1",
|
|
"react-dom": "^16.7.0",
|
|
"react-resize-detector": "^5.0.7",
|
|
"react-scripts": "3.4.4",
|
|
"react-test-renderer": "^16.9.0",
|
|
"reactstrap": "^8.9.0",
|
|
"sanitize-html": "^2.3.3",
|
|
"sass": "1.32.10",
|
|
"tempusdominus-bootstrap-4": "^5.1.2",
|
|
"tempusdominus-core": "^5.0.3",
|
|
"typescript": "^3.3.3",
|
|
"use-media": "^1.4.0"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test --runInBand",
|
|
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
|
"eject": "react-scripts eject",
|
|
"lint:ci": "eslint --quiet \"src/**/*.{ts,tsx}\"",
|
|
"lint": "eslint --fix \"src/**/*.{ts,tsx}\""
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"trailingComma": "es5",
|
|
"printWidth": 125
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
],
|
|
"devDependencies": {
|
|
"@testing-library/react-hooks": "^3.1.1",
|
|
"@types/enzyme": "^3.10.3",
|
|
"@types/enzyme-adapter-react-16": "^1.0.5",
|
|
"@types/flot": "0.0.31",
|
|
"@types/jest": "^26.0.10",
|
|
"@types/jquery": "^3.5.1",
|
|
"@types/moment-timezone": "^0.5.10",
|
|
"@types/node": "^12.11.1",
|
|
"@types/reach__router": "^1.2.6",
|
|
"@types/react": "^16.8.2",
|
|
"@types/react-copy-to-clipboard": "^5.0.0",
|
|
"@types/react-dom": "^16.8.0",
|
|
"@types/react-resize-detector": "^5.0.0",
|
|
"@types/reactstrap": "^8.7.2",
|
|
"@types/sanitize-html": "^1.20.2",
|
|
"@types/sinon": "^9.0.4",
|
|
"@typescript-eslint/eslint-plugin": "2.x",
|
|
"@typescript-eslint/parser": "2.x",
|
|
"enzyme": "^3.10.0",
|
|
"enzyme-adapter-react-16": "^1.15.1",
|
|
"eslint": "6.x",
|
|
"eslint-config-prettier": "^6.4.0",
|
|
"eslint-config-react-app": "^5.0.2",
|
|
"eslint-plugin-flowtype": "4.x",
|
|
"eslint-plugin-import": "2.x",
|
|
"eslint-plugin-jsx-a11y": "6.x",
|
|
"eslint-plugin-prettier": "^3.1.1",
|
|
"eslint-plugin-react": "7.x",
|
|
"eslint-plugin-react-hooks": "2.x",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"mutationobserver-shim": "^0.3.7",
|
|
"prettier": "^1.18.2",
|
|
"sinon": "^9.0.3"
|
|
},
|
|
"proxy": "http://localhost:9090",
|
|
"jest": {
|
|
"snapshotSerializers": [
|
|
"enzyme-to-json/serializer"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"/node_modules/(?!codemirror-promql).+(js|jsx)$"
|
|
]
|
|
}
|
|
}
|