moonfire-nvr/ui/package.json

116 lines
3.3 KiB
JSON
Raw Normal View History

{
"name": "ui",
"version": "0.1.0",
"private": true,
"type": "module",
"dependencies": {
2024-04-05 03:41:19 -04:00
"@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",
2024-04-05 03:41:19 -04:00
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
2024-04-05 03:41:19 -04:00
"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",
2023-12-18 02:07:28 -05:00
"test": "vitest"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
2023-12-18 02:07:28 -05:00
"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": {
2024-04-05 03:41:19 -04:00
"@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",
2024-04-05 03:41:19 -04:00
"@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",
2024-04-05 03:41:19 -04:00
"eslint-plugin-react-refresh": "^0.4.6",
"eslint-plugin-vitest": "^0.3.26",
"http-proxy-middleware": "^2.0.6",
2024-04-13 22:54:10 -04:00
"jsdom": "^24.0.0",
2024-04-05 03:41:19 -04:00
"msw": "^2.2.13",
"prettier": "^2.8.8",
"terser": "^5.30.3",
"ts-node": "^10.9.2",
2024-04-05 03:41:19 -04:00
"typescript": "^5.4.4",
"vite": "^5.2.8",
2023-12-18 02:07:28 -05:00
"vite-plugin-compression": "^0.5.1",
2024-04-05 03:41:19 -04:00
"vitest": "^1.4.0"
}
}