mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00

A new @types/react release has broken the dashboard build. Make sure to specify the older version under package resolutions.
133 lines
3 KiB
JSON
133 lines
3 KiB
JSON
{
|
|
"name": "ray-dashboard-client",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@material-ui/core": "4.11.0",
|
|
"@material-ui/icons": "^4.9.1",
|
|
"@material-ui/lab": "4.0.0-alpha.56",
|
|
"@material-ui/pickers": "^3.2.10",
|
|
"@reduxjs/toolkit": "^1.3.1",
|
|
"@types/classnames": "^2.2.10",
|
|
"@types/jest": "25.1.4",
|
|
"@types/lodash": "^4.14.161",
|
|
"@types/lowlight": "^0.0.1",
|
|
"@types/node": "13.9.5",
|
|
"@types/numeral": "^0.0.26",
|
|
"@types/react": "16.9.26",
|
|
"@types/react-dom": "16.9.5",
|
|
"@types/react-redux": "^7.1.7",
|
|
"@types/react-router-dom": "^5.1.3",
|
|
"@types/react-window": "^1.8.2",
|
|
"axios": "^0.21.1",
|
|
"classnames": "^2.2.6",
|
|
"dayjs": "^1.9.4",
|
|
"lodash": "^4.17.20",
|
|
"lowlight": "^1.14.0",
|
|
"numeral": "^2.0.6",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-redux": "^7.2.0",
|
|
"react-router-dom": "^5.1.2",
|
|
"react-scripts": "^4.0.3",
|
|
"react-window": "^1.8.5",
|
|
"typeface-roboto": "0.0.75",
|
|
"typescript": "3.8.3",
|
|
"use-debounce": "^3.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-plugin-import": "2.20.1",
|
|
"eslint-plugin-prefer-arrow": "1.1.7",
|
|
"prettier": "2.3.0"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "16.9.26"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"lint": "npm run eslint && npm run prettier",
|
|
"lint-fix": "npm run prettier -- --write && npm run eslint -- --fix",
|
|
"prettier": "prettier -c src",
|
|
"eslint": "eslint \"src/**\""
|
|
},
|
|
"eslintConfig": {
|
|
"ignorePatterns": [
|
|
"*.svg",
|
|
"*.css"
|
|
],
|
|
"extends": [
|
|
"plugin:import/warnings",
|
|
"react-app"
|
|
],
|
|
"plugins": [
|
|
"prefer-arrow"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/consistent-type-definitions": [
|
|
"error",
|
|
"type"
|
|
],
|
|
"comma-dangle": [
|
|
"warn",
|
|
"always-multiline"
|
|
],
|
|
"curly": [
|
|
"warn",
|
|
"all"
|
|
],
|
|
"eqeqeq": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"import/order": [
|
|
"warn",
|
|
{
|
|
"alphabetize": {
|
|
"order": "asc",
|
|
"caseInsensitive": true
|
|
}
|
|
}
|
|
],
|
|
"no-var": "error",
|
|
"prefer-arrow/prefer-arrow-functions": [
|
|
"warn",
|
|
{
|
|
"disallowPrototype": true,
|
|
"singleReturnOnly": false,
|
|
"classPropertiesAllowed": false
|
|
}
|
|
],
|
|
"prefer-const": "error",
|
|
"react/jsx-fragments": [
|
|
"warn",
|
|
"element"
|
|
],
|
|
"sort-imports": [
|
|
"warn",
|
|
{
|
|
"ignoreCase": true,
|
|
"ignoreDeclarationSort": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "all"
|
|
},
|
|
"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:8265"
|
|
}
|