fleet/package.json
Gabe Hernandez a6c8987200
Feature - add search and sort to host table (#341)
* start adding global search filter

* update polyfill setup to use async await for react-table

* update browerslist to sensible defaults

* get global search functionality woring

* more progress on the data table

* get label network calls working in hostdatatable

* get pagination functionality into the HostDataTable

* get search query making network call

* get ordering making query

* make actual  sort order network calls

* disable cpu column sorting

* seperate get table data from get labels

* fix issues with input resetting and got search query working

* get sort working

* ignore vs code editor settings

* improve loading spinner to move inside the table

* improve styling

* add sorting arrows

* remove unused sorting arrow component

* add host query params to labels endpoint

* fix style for query textarea on label hosts

* got new pagination working

* set server data as source of truth for table global filter

* cleanup logs

* clean up pagination styles

* fix up paginationa and no host styles

* add result count to table

* remove logs

* tweak header styles

* fix to sort order

* simplify default sort direction

* keep sort order of server api responses and use in host table

* clean up logs

* Add styles for header cell and pagination

* fix tests for ManageHostPage

* fix tests for HostContainer

* fix lower level action reducer and thunk tests

* fix tests for hosts client

* fix up some host count styling

* added back no hosts start message

* fix linting errors

* remove unused old pagination code

* add back scrollToTop utility on pagination

* remove unused code in managehostpage test

Co-authored-by: Noah Talerman <noahtal@umich.edu>
2021-02-25 12:05:08 +00:00

208 lines
6.1 KiB
JSON

{
"name": "@fleetdm/fleet",
"version": "0.99.99",
"description": "The premier osquery fleet manager.",
"private": true,
"sasslintConfig": ".sass-lint.yml",
"scripts": {
"lint": "eslint frontend --ext .js,.jsx && tslint frontend/**/*.tsx frontend/**/*.ts && sass-lint --verbose",
"test": "jest"
},
"dependencies": {
"ace-builds": "1.3.1",
"autoprefixer": "^9.4.3",
"bourbon": "^5.0.0",
"brace": "0.11.1",
"classnames": "2.2.5",
"core-js": "3",
"enzyme": "^3",
"es6-object-assign": "1.1.0",
"es6-promise": "4.2.4",
"expect": "1.20.2",
"express": "4.16.3",
"file-saver": "1.3.8",
"history": "2.1.0",
"import-glob-loader": "1.1.0",
"isomorphic-fetch": "2.2.1",
"js-md5": "0.7.3",
"jsdom": "9.12.0",
"lodash": "^4.17.15",
"memoize-one": "^5",
"moment": "2.22.2",
"nock": "^13.0.5",
"node-bourbon": "4.2.8",
"node-sass": "^4.13.0",
"normalizr": "2.3.1",
"postcss-loader": "^3.0.0",
"prop-types": "^15.0.0",
"proxy-middleware": "0.15.0",
"rc-pagination": "1.16.3",
"react": "^16",
"react-ace": "^6.3.2",
"react-dom": "^16",
"react-entity-getter": "0.0.8",
"react-redux": "7.2.2",
"react-redux-loading-bar": "2.9.3",
"react-router": "^3.0.0",
"react-router-redux": "4.0.8",
"react-router-transition": "0.1.1",
"react-select": "^1",
"react-table": "^7.6.3",
"react-tooltip": "^4.2.13",
"redux": "4.0.5",
"redux-mock-store": "1.4.0",
"redux-thunk": "2.3.0",
"require-hacker": "2.1.4",
"select": "1.1.2",
"sockjs-client": "^1.4.0",
"sqlite-parser": "1.0.1",
"whatwg-fetch": "0.11.1",
"when": "3.7.8"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": "defaults",
"useBuiltIns": "usage",
"corejs": "3.8"
}
],
"@babel/preset-react"
],
"env": {
"dev": {
"presets": [
"react-hmre"
]
},
"test": {
"presets": [
"@babel/preset-typescript"
]
}
},
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-logical-assignment-operators",
"@babel/plugin-proposal-optional-chaining",
[
"@babel/plugin-proposal-pipeline-operator",
{
"proposal": "minimal"
}
],
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-do-expressions",
"@babel/plugin-proposal-function-bind"
]
},
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/preset-typescript": "^7.12.7",
"@types/classnames": "0.0.32",
"@types/expect": "1.20.3",
"@types/mocha": "2.2.48",
"@types/node": "6.0.112",
"@types/react": "0.14.57",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",
"babel-loader": "^8.2.1",
"css-loader": "0.28.11",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^4",
"eslint-config-airbnb": "^15",
"eslint-import-resolver-webpack": "0.10.0",
"eslint-plugin-import": "^2",
"eslint-plugin-jest": "20.0.3",
"eslint-plugin-jsx-a11y": "^5",
"eslint-plugin-react": "^7",
"eslint-plugin-react-hooks": "^4.2.0",
"expose-loader": "0.7.5",
"file-loader": "^4.1.0",
"html-webpack-plugin": "^3.2.0",
"identity-obj-proxy": "^3.0.0",
"ignore-styles": "5.0.1",
"jest": "^26.6.3",
"json-loader": "0.5.7",
"mini-css-extract-plugin": "^0.7.0",
"raw-loader": "0.5.1",
"regenerator-runtime": "^0.13.7",
"sass-lint": "1.12.1",
"sass-loader": "6.0.7",
"source-map-loader": "0.2.3",
"stacktrace-parser": "^0.1.10",
"style-loader": "0.21.0",
"ts-loader": "^6.0.4",
"ts-node": "1.7.3",
"tslint": "5.10.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "3.6.0",
"typescript": "^3.9.6",
"url-loader": "^2.1.0",
"webpack": "^4.37.0",
"webpack-cli": "^3.3.6",
"webpack-dev-middleware": "^3.7.0",
"webpack-hot-middleware": "2.22.2",
"webpack-notifier": "1.12.0"
},
"browserslist": [
"defaults"
],
"jest": {
"rootDir": "frontend",
"moduleDirectories": [
"node_modules",
"frontend"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss|sass)$": "identity-obj-proxy"
},
"testMatch": [
"**/*tests.js*"
],
"setupFilesAfterEnv": [
"<rootDir>/test/envSetup.js"
],
"clearMocks": true,
"testURL": "http://localhost:8080"
},
"license": "SEE LICENSE IN ./LICENSE"
}