Adds a minimum supported node and yarn version to the project. Currently if you are on an unsupported version of node or yarn, there is no messaging telling you that is the issue. The build just fails, and you are left to figure out it's because of your node version. With this change, it will be much clearer why any of the node required commands (e.g. make deps, make generate-dev, make lint-js, make test-js) are not working, and it will tell you exactly which minimum version of node or yarn you need. **After the console error is clear about using an unsupported node version**  - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. - [x] Manual QA for all new/changed functionality
176 lines
5.8 KiB
JSON
176 lines
5.8 KiB
JSON
{
|
|
"name": "@fleetdm/fleet",
|
|
"version": "0.99.99",
|
|
"description": "The premier osquery fleet manager.",
|
|
"engines": {
|
|
"node": "20.11.1",
|
|
"yarn": ">=1.22.21"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "eslint frontend --ext .js,.jsx,.ts,.tsx",
|
|
"prettier:check": "prettier --check frontend/**/*.{jsx,js,tsx,ts}",
|
|
"test": "jest --config ./frontend/test/jest.config.ts",
|
|
"test:ci": "jest --config ./frontend/test/jest.config.ts --ci --coverage",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@types/dompurify": "3.0.2",
|
|
"ace-builds": "1.4.12",
|
|
"axios": "1.6.0",
|
|
"core-js": "3.25.1",
|
|
"date-fns": "2.28.0",
|
|
"dompurify": "3.0.3",
|
|
"es6-object-assign": "1.1.0",
|
|
"es6-promise": "4.2.8",
|
|
"express": "4.17.3",
|
|
"file-saver": "1.3.8",
|
|
"history": "2.1.0",
|
|
"isomorphic-fetch": "3.0.0",
|
|
"js-md5": "0.7.3",
|
|
"js-yaml": "3.14.1",
|
|
"lodash": "4.17.21",
|
|
"memoize-one": "5.2.1",
|
|
"node-sass": "8.0.0",
|
|
"normalizr": "3.6.2",
|
|
"prop-types": "15.8.1",
|
|
"proxy-middleware": "0.15.0",
|
|
"rc-pagination": "1.16.3",
|
|
"react": "16.14.0",
|
|
"react-accessible-accordion": "3.3.5",
|
|
"react-ace": "9.3.0",
|
|
"react-dom": "16.14.0",
|
|
"react-error-boundary": "3.1.4",
|
|
"react-markdown": "8.0.3",
|
|
"react-query": "3.34.16",
|
|
"react-router": "3.2.6",
|
|
"react-router-transition": "1.2.1",
|
|
"react-select": "1.3.0",
|
|
"react-select-5": "npm:react-select@5.4.0",
|
|
"react-table": "7.7.0",
|
|
"react-tabs": "3.2.3",
|
|
"react-tooltip": "4.2.21",
|
|
"react-tooltip-5": "npm:react-tooltip@5.21.3",
|
|
"remark-gfm": "3.0.1",
|
|
"select": "1.1.2",
|
|
"sockjs-client": "1.6.1",
|
|
"sqlite-parser": "1.0.1",
|
|
"use-debounce": "9.0.4",
|
|
"uuid": "8.3.2",
|
|
"when": "3.7.8"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.17.6",
|
|
"@babel/core": "7.18.10",
|
|
"@babel/plugin-proposal-class-properties": "7.16.7",
|
|
"@babel/plugin-proposal-decorators": "7.17.2",
|
|
"@babel/plugin-proposal-do-expressions": "7.16.7",
|
|
"@babel/plugin-proposal-export-default-from": "7.16.7",
|
|
"@babel/plugin-proposal-export-namespace-from": "7.16.7",
|
|
"@babel/plugin-proposal-function-bind": "7.16.7",
|
|
"@babel/plugin-proposal-function-sent": "7.16.7",
|
|
"@babel/plugin-proposal-json-strings": "7.16.7",
|
|
"@babel/plugin-proposal-logical-assignment-operators": "7.16.7",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
|
|
"@babel/plugin-proposal-numeric-separator": "7.16.7",
|
|
"@babel/plugin-proposal-optional-chaining": "7.16.7",
|
|
"@babel/plugin-proposal-pipeline-operator": "7.17.6",
|
|
"@babel/plugin-proposal-throw-expressions": "7.16.7",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/plugin-syntax-import-meta": "7.10.4",
|
|
"@babel/preset-env": "7.21.5",
|
|
"@babel/preset-react": "7.18.6",
|
|
"@babel/preset-typescript": "7.21.5",
|
|
"@storybook/addon-a11y": "7.5.2",
|
|
"@storybook/addon-actions": "7.5.2",
|
|
"@storybook/addon-designs": "7.0.5",
|
|
"@storybook/addon-essentials": "7.5.2",
|
|
"@storybook/addon-links": "7.5.2",
|
|
"@storybook/addon-mdx-gfm": "7.5.2",
|
|
"@storybook/react": "7.5.2",
|
|
"@storybook/react-webpack5": "7.5.2",
|
|
"@storybook/test-runner": "0.13.0",
|
|
"@testing-library/jest-dom": "5.16.2",
|
|
"@testing-library/react": "12.1.4",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"@tsconfig/recommended": "1.0.1",
|
|
"@types/chrome": "0.0.237",
|
|
"@types/classnames": "0.0.32",
|
|
"@types/expect": "1.20.3",
|
|
"@types/file-saver": "2.0.5",
|
|
"@types/js-md5": "0.4.3",
|
|
"@types/js-yaml": "4.0.5",
|
|
"@types/lodash": "4.14.179",
|
|
"@types/memoize-one": "5.1.2",
|
|
"@types/mocha": "2.2.48",
|
|
"@types/node": "14.18.12",
|
|
"@types/prop-types": "15.7.4",
|
|
"@types/react": "17.0.40",
|
|
"@types/react-router": "3.0.28",
|
|
"@types/react-select": "1.3.0",
|
|
"@types/react-table": "7.7.7",
|
|
"@types/react-tabs": "2.3.4",
|
|
"@types/react-tooltip": "4.2.4",
|
|
"@types/sockjs-client": "1.5.1",
|
|
"@types/uuid": "8.3.4",
|
|
"@typescript-eslint/eslint-plugin": "5.58.0",
|
|
"@typescript-eslint/parser": "5.58.0",
|
|
"autoprefixer": "9.8.8",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-eslint": "9.0.0",
|
|
"babel-jest": "29.2.0",
|
|
"babel-loader": "8.2.3",
|
|
"babel-plugin-dynamic-import-node": "2.3.3",
|
|
"bourbon": "5.1.0",
|
|
"classnames": "2.2.5",
|
|
"css-loader": "6.7.3",
|
|
"esbuild-loader": "2.18.0",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-airbnb": "15.1.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-import-resolver-webpack": "0.10.0",
|
|
"eslint-plugin-import": "2.25.4",
|
|
"eslint-plugin-jest": "20.0.3",
|
|
"eslint-plugin-jsx-a11y": "5.1.1",
|
|
"eslint-plugin-prettier": "3.4.1",
|
|
"eslint-plugin-react": "7.29.4",
|
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
"eslint-plugin-storybook": "0.6.11",
|
|
"expect": "1.20.2",
|
|
"fork-ts-checker-webpack-plugin": "6.5.0",
|
|
"html-webpack-plugin": "5.5.0",
|
|
"identity-obj-proxy": "3.0.0",
|
|
"ignore-styles": "5.0.1",
|
|
"jest": "29.2.0",
|
|
"jest-environment-jsdom": "29.2.0",
|
|
"jest-environment-jsdom-sixteen": "1.0.3",
|
|
"jsdom": "16.7.0",
|
|
"json-loader": "0.5.7",
|
|
"mini-css-extract-plugin": "2.7.5",
|
|
"msw": "0.47.4",
|
|
"nock": "13.2.4",
|
|
"node-bourbon": "4.2.8",
|
|
"node-sass-glob-importer": "5.3.2",
|
|
"postcss-loader": "3.0.0",
|
|
"prettier": "2.2.1",
|
|
"react-docgen-typescript-plugin": "1.0.5",
|
|
"regenerator-runtime": "0.13.9",
|
|
"sass-loader": "13.2.2",
|
|
"storybook": "7.5.2",
|
|
"trace-unhandled": "2.0.1",
|
|
"ts-loader": "6.2.2",
|
|
"ts-node": "10.7.0",
|
|
"tslint": "5.10.0",
|
|
"tslint-react": "3.6.0",
|
|
"typescript": "4.6.2",
|
|
"webpack": "5.78.0",
|
|
"webpack-cli": "5.0.1",
|
|
"webpack-notifier": "1.12.0"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"license": "SEE LICENSE IN ./LICENSE"
|
|
}
|