94 lines
2.1 KiB
JSON
94 lines
2.1 KiB
JSON
{
|
|
"name": "esp8266-react",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"proxy": "http://192.168.0.23",
|
|
"dependencies": {
|
|
"@emotion/react": "^11.9.0",
|
|
"@emotion/styled": "^11.8.1",
|
|
"@mui/icons-material": "^5.8.0",
|
|
"@mui/material": "^5.8.0",
|
|
"@types/lodash": "^4.14.176",
|
|
"@types/node": "^16.11.14",
|
|
"@types/react": "^18.0.9",
|
|
"@types/react-dom": "^18.0.4",
|
|
"async-validator": "^4.1.1",
|
|
"axios": "^0.27.2",
|
|
"http-proxy-middleware": "^2.0.1",
|
|
"jwt-decode": "^3.1.2",
|
|
"lodash": "^4.17.21",
|
|
"notistack": "^2.0.5",
|
|
"parse-ms": "^3.0.0",
|
|
"react": "^18.1.0",
|
|
"react-app-rewired": "^2.1.8",
|
|
"react-dom": "^18.1.0",
|
|
"react-dropzone": "^11.4.2",
|
|
"react-router-dom": "^6.3.0",
|
|
"react-scripts": "5.0.1",
|
|
"sockette": "^2.0.6",
|
|
"typescript": "^4.6.4"
|
|
},
|
|
"devDependencies": {
|
|
"compress-create-react-app": "^1.4.2"
|
|
},
|
|
"scripts": {
|
|
"start": "react-app-rewired start",
|
|
"build": "react-app-rewired build",
|
|
"build:compressed": "react-app-rewired build && compress-cra -c compress-cra.json",
|
|
"test": "react-app-rewired test",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
],
|
|
"rules": {
|
|
"eol-last": 1,
|
|
"react/jsx-closing-bracket-location": 1,
|
|
"react/jsx-closing-tag-location": 1,
|
|
"react/jsx-wrap-multilines": 1,
|
|
"react/jsx-curly-newline": 1,
|
|
"no-multiple-empty-lines": [
|
|
1,
|
|
{
|
|
"max": 1
|
|
}
|
|
],
|
|
"no-trailing-spaces": 1,
|
|
"semi": 1,
|
|
"no-extra-semi": 1,
|
|
"react/jsx-max-props-per-line": [
|
|
1,
|
|
{
|
|
"when": "multiline"
|
|
}
|
|
],
|
|
"react/jsx-first-prop-new-line": [
|
|
1,
|
|
"multiline"
|
|
],
|
|
"@typescript-eslint/no-shadow": 1,
|
|
"max-len": [
|
|
1,
|
|
{
|
|
"code": 140
|
|
}
|
|
],
|
|
"arrow-parens": 1
|
|
}
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|