mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 07:05:56 -05:00
e7527af24c
(and various other lockfile upgrades. "npm audit" is clean.) The date picker to use with 4.0 is unmaintained, and the new one is apparently quite different. Given that 5.0 is expected to be released this quarter, I prefer to jump straight to the new one and get things working with it, even if it means using an alpha in the short-term.
71 lines
2.0 KiB
JSON
71 lines
2.0 KiB
JSON
{
|
|
"name": "ui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@emotion/react": "^11.1.5",
|
|
"@emotion/styled": "^11.1.5",
|
|
"@material-ui/core": "^5.0.0-alpha.25",
|
|
"@material-ui/icons": "^5.0.0-alpha.24",
|
|
"@material-ui/lab": "^5.0.0-alpha.25",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/node": "^14.14.22",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@fontsource/roboto": "^4.2.1",
|
|
"gzipper": "^4.4.0",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"react-scripts": "4.0.1",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build && gzipper compress --exclude=png,woff2 --remove-larger ./build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"format": "prettier --write src/ public/",
|
|
"check-format": "prettier --check src/ public/",
|
|
"lint": "eslint src"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
],
|
|
"rules": {
|
|
"no-restricted-imports": [
|
|
"error",
|
|
{
|
|
"name": "@material-ui/core",
|
|
"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": "@material-ui/icons",
|
|
"message": "Please use the 'import MenuIcon from \"material-ui/icons/Menu\";' style instead; see https://material-ui.com/guides/minimizing-bundle-size/#option-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": {
|
|
"@testing-library/jest-dom": "^5.11.4",
|
|
"@testing-library/react": "^11.1.0",
|
|
"@testing-library/user-event": "^12.6.3",
|
|
"http-proxy-middleware": "^1.0.6",
|
|
"msw": "^0.26.1",
|
|
"prettier": "2.2.1"
|
|
}
|
|
}
|