Skip to content

Commit

Permalink
Update old dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3Wall committed Jan 16, 2024
1 parent c1c1d7e commit dffc27e
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 43 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": ["@babel/plugin-proposal-optional-chaining"]
}
57 changes: 28 additions & 29 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
{
"env": {
"browser": true,
"jest": true,
"es6": true,
"node": true
},
"plugins": ["import", "react"],
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:react-hooks/recommended"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"no-console": "off",
"no-eval": "error",
"import/first": "error",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off"
},
"settings": {
"react": {
"version": "detect"
}
"env": {
"browser": true,
"jest": true,
"es6": true,
"node": true
},
"plugins": ["import", "react"],
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:react-hooks/recommended"],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"rules": {
"no-console": "off",
"no-eval": "error",
"import/first": "error",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ firebase-debug.log*
.prettierrc
.idea
.env
package-lock.json
google803f79ad64114124.html
package-lock.json
1 change: 1 addition & 0 deletions google803f79ad64114124.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: google803f79ad64114124.html
4 changes: 0 additions & 4 deletions netlify.toml

This file was deleted.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.7.3",
"axios": "^0.21.1",
"firebase": "^8.2.9",
"firebase-tools": "^9.5.0",
"axios": "^1.6.5",
"firebase": "^10.7.1",
"firebase-tools": "^13.0.3",
"framer-motion": "^4.1.16",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-hook-form": "^6.15.4",
"react-icons": "^4.2.0",
"react-redux": "^7.2.2",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-scripts": "^5.0.1",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
Expand Down Expand Up @@ -53,7 +53,8 @@
]
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-prettier": "^3.3.1",
Expand Down
6 changes: 3 additions & 3 deletions src/firebase/firebaseUtils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import firebase from "firebase/app"
import "firebase/firestore"
import "firebase/auth"
import firebase from "firebase/compat/app"
import "firebase/compat/firestore"
import "firebase/compat/auth"

const { REACT_APP_FIREBASE_API_KEY, REACT_APP_FIREBASE_AUTH_DOMAIN, REACT_APP_FIREBASE_PROJECT_ID, REACT_APP_FIREBASE_STORAGE_BUCKET, REACT_APP_FIREBASE_MESSAGING_SENDER_ID, REACT_APP_FIREBASE_APP_ID, REACT_APP_FIREBASE_MEASUREMEMT_ID } = process.env;

Expand Down

0 comments on commit dffc27e

Please sign in to comment.