mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
105 lines
2.6 KiB
JSON
105 lines
2.6 KiB
JSON
{
|
|
"name": "EMS-ESP",
|
|
"version": "3.5.0",
|
|
"private": true,
|
|
"proxy": "http://localhost:3080",
|
|
"dependencies": {
|
|
"@emotion/react": "^11.10.5",
|
|
"@emotion/styled": "^11.10.5",
|
|
"@msgpack/msgpack": "^2.8.0",
|
|
"@mui/icons-material": "^5.11.0",
|
|
"@mui/material": "^5.11.7",
|
|
"@table-library/react-table-library": "4.0.24",
|
|
"@types/lodash": "^4.14.191",
|
|
"@types/node": "^18.11.19",
|
|
"@types/react": "^18.0.27",
|
|
"@types/react-dom": "^18.0.10",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"async-validator": "^4.2.5",
|
|
"axios": "^1.3.2",
|
|
"jwt-decode": "^3.1.2",
|
|
"lodash": "^4.17.21",
|
|
"notistack": "^2.0.8",
|
|
"react": "^18.2.0",
|
|
"react-app-rewired": "^2.2.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-icons": "^4.7.1",
|
|
"react-router-dom": "^6.8.1",
|
|
"react-scripts": "5.0.1",
|
|
"sockette": "^2.0.6",
|
|
"typesafe-i18n": "^5.24.0",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"scripts": {
|
|
"start": "react-app-rewired start",
|
|
"build": "react-app-rewired build",
|
|
"test": "react-app-rewired test",
|
|
"eject": "react-scripts eject",
|
|
"format": "prettier --write '**/*.{ts,tsx,js,css,json,md}'",
|
|
"build-hosted": "env-cmd -f .env.hosted npm run build",
|
|
"build-localhost": "PUBLIC_URL=/ react-app-rewired build",
|
|
"mock-api": "nodemon --watch ../mock-api ../mock-api/server.js",
|
|
"standalone": "npm-run-all -p start typesafe-i18n mock-api",
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
"typesafe-i18n": "typesafe-i18n"
|
|
},
|
|
"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": 220
|
|
}
|
|
],
|
|
"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"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"nodemon": "^2.0.20",
|
|
"npm-run-all": "^4.1.5",
|
|
"http-proxy-middleware": "^2.0.6"
|
|
}
|
|
}
|