mirror of
https://github.com/blueedgetechno/win11React.git
synced 2026-01-10 06:28:11 -05:00
start of perms
This commit is contained in:
5
.firebaserc
Normal file
5
.firebaserc
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"projects": {
|
||||
"default": "win11react"
|
||||
}
|
||||
}
|
||||
16
firebase.json
Normal file
16
firebase.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"hosting": {
|
||||
"public": "build",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**"
|
||||
],
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "**",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
1709
package-lock.json
generated
1709
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,7 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"-": "^0.0.1",
|
||||
"@craco/craco": "6.4.3",
|
||||
"@crowdin/cli": "^3.7.8",
|
||||
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
||||
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
||||
@@ -17,9 +18,9 @@
|
||||
"@widgetbot/react-embed": "1.4.1",
|
||||
"@win11react/react-canvas-draw": "1.2.2",
|
||||
"axios": "^0.27.2",
|
||||
"@craco/craco": "6.4.3",
|
||||
"craco-esbuild": "0.5.1",
|
||||
"eslint-config-react-app": "^7.0.1",
|
||||
"firebase": "^9.8.2",
|
||||
"i18next": "^21.8.8",
|
||||
"i18next-browser-languagedetector": "^6.1.4",
|
||||
"i18next-http-backend": "^1.4.1",
|
||||
|
||||
16
src/index.js
16
src/index.js
@@ -7,6 +7,22 @@ import store from "./reducers";
|
||||
import { Provider } from "react-redux";
|
||||
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
|
||||
|
||||
import { initializeApp } from "firebase/app";
|
||||
import { getAnalytics } from "firebase/analytics";
|
||||
|
||||
const firebaseConfig = {
|
||||
apiKey: process.env.REACT_APP_FIREBASE_API_KEY,
|
||||
authDomain: "auth.win11react.com",
|
||||
projectId: "win11react",
|
||||
storageBucket: "auth.win11react.com",
|
||||
messagingSenderId: "213452110834",
|
||||
appId: process.env.REACT_APP_FIREBASE_APP_ID,
|
||||
measurementId: "G-N7CJ22ZMSJ"
|
||||
};
|
||||
|
||||
const app = initializeApp(firebaseConfig);
|
||||
const analytics = getAnalytics(app);
|
||||
|
||||
Sentry.init({
|
||||
dsn: "https://6c16d34365334e0fbee992044f9d223b@o575799.ingest.sentry.io/6251530",
|
||||
integrations: [new BrowserTracing()],
|
||||
|
||||
Reference in New Issue
Block a user