mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-27 07:35:56 -05:00
115 lines
3.2 KiB
JSON
115 lines
3.2 KiB
JSON
{
|
|
"name": "ui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@emotion/react": "^11.11.4",
|
|
"@emotion/styled": "^11.11.5",
|
|
"@fontsource/roboto": "^4.5.8",
|
|
"@mui/icons-material": "^5.15.15",
|
|
"@mui/lab": "5.0.0-alpha.170",
|
|
"@mui/material": "^5.15.15",
|
|
"@mui/x-date-pickers": "^6.19.8",
|
|
"@react-hook/resize-observer": "^1.2.6",
|
|
"date-fns": "^2.30.0",
|
|
"date-fns-tz": "^2.0.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-hook-form": "^7.51.2",
|
|
"react-hook-form-mui": "^6.8.0",
|
|
"react-router-dom": "^6.22.3"
|
|
},
|
|
"scripts": {
|
|
"check-format": "prettier --check --ignore-path .gitignore .",
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"format": "prettier --write --ignore-path .gitignore .",
|
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
"preview": "vite preview",
|
|
"test": "vitest"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:vitest/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react/jsx-runtime",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts",
|
|
"*.tsx"
|
|
],
|
|
"rules": {
|
|
"no-undef": "off"
|
|
}
|
|
}
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-restricted-imports": [
|
|
"error",
|
|
{
|
|
"name": "@mui/material",
|
|
"message": "Please use the 'import Button from \"material-ui/core/Button\";' style instead; see https://material-ui.com/guides/minimizing-bundle-size/#option-1"
|
|
},
|
|
{
|
|
"name": "@mui/icons-material",
|
|
"message": "Please use the 'import MenuIcon from \"material-ui/icons/Menu\";' style instead; see https://material-ui.com/guides/minimizing-bundle-size/#option-1"
|
|
}
|
|
],
|
|
"no-unused-vars": [
|
|
"error",
|
|
{
|
|
"args": "none"
|
|
}
|
|
],
|
|
"react/no-unescaped-entities": "off"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.4",
|
|
"@babel/preset-env": "^7.24.4",
|
|
"@babel/preset-react": "^7.24.1",
|
|
"@babel/preset-typescript": "^7.24.1",
|
|
"@swc/core": "^1.4.12",
|
|
"@testing-library/dom": "^8.20.1",
|
|
"@testing-library/jest-dom": "^6.4.2",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/node": "^18.19.29",
|
|
"@types/react": "^18.2.74",
|
|
"@types/react-dom": "^18.2.24",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"@vitejs/plugin-legacy": "^5.3.2",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-react": "^7.34.1",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
"eslint-plugin-vitest": "^0.3.26",
|
|
"http-proxy-middleware": "^2.0.6",
|
|
"msw": "^2.2.13",
|
|
"prettier": "^2.8.8",
|
|
"terser": "^5.30.3",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.4",
|
|
"vite": "^5.2.8",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vitest": "^1.4.0"
|
|
}
|
|
}
|