fleet/package.json
Gabe Hernandez efb35b537a
add prettier and have it format all fleet application code (#625)
* add prettier and have it format all js code except website:
:

* trying running prettier check in CI

* fix runs on in CI

* change CI job name

* fix prettier erros and fix CI
2021-04-12 14:32:25 +01:00

234 lines
7.1 KiB
JSON

{
"name": "@fleetdm/fleet",
"version": "0.99.99",
"description": "The premier osquery fleet manager.",
"private": true,
"scripts": {
"lint": "eslint frontend cypress --ext .js,.jsx,.ts,.tsx",
"prettier:check": "prettier --check frontend/**/*.{jsx,js,tsx,ts} ./cypress/**/*.{js,ts}",
"test": "jest",
"cypress:open": "cypress open"
},
"dependencies": {
"@types/react-tooltip": "^4.2.4",
"ace-builds": "1.3.1",
"autoprefixer": "^9.4.3",
"bourbon": "^5.0.0",
"brace": "0.11.1",
"classnames": "2.2.5",
"core-js": "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",
"js-yaml": "3",
"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.8.6",
"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-tabs": "^3.2.0",
"react-tooltip": "^4.2.15",
"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",
"@testing-library/cypress": "^7.0.4",
"@tsconfig/recommended": "^1.0.1",
"@types/classnames": "0.0.32",
"@types/cypress": "^1.1.3",
"@types/expect": "1.20.3",
"@types/js-md5": "^0.4.2",
"@types/lodash": "^4.14.168",
"@types/mocha": "2.2.48",
"@types/node": "^14.14.37",
"@types/prop-types": "^15.7.3",
"@types/react": "^17.0.2",
"@types/react-redux": "^7.1.16",
"@types/react-router-redux": "^5.0.18",
"@types/react-table": "^7.0.28",
"@types/react-tabs": "^2.3.2",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"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",
"cypress": "^6.9.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.20.0",
"eslint-config-airbnb": "^15",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-webpack": "0.10.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-import": "^2",
"eslint-plugin-jest": "20.0.3",
"eslint-plugin-jsx-a11y": "5.1.1",
"eslint-plugin-prettier": "^3.3.1",
"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",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jsdom": "^16.5.2",
"json-loader": "0.5.7",
"mini-css-extract-plugin": "^0.7.0",
"prettier": "2.2.1",
"raw-loader": "0.5.1",
"regenerator-runtime": "^0.13.7",
"sass-loader": "6.0.7",
"source-map-loader": "0.2.3",
"stacktrace-parser": "^0.1.10",
"style-loader": "0.21.0",
"trace-unhandled": "^2.0.1",
"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": "^4.2.2",
"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.[jt]s?(x)"
],
"setupFilesAfterEnv": [
"<rootDir>/test/envSetup.js"
],
"setupFiles": [
"trace-unhandled/register"
],
"testEnvironment": "jest-environment-jsdom-sixteen",
"clearMocks": true,
"testURL": "http://localhost:8080"
},
"license": "SEE LICENSE IN ./LICENSE"
}