Adding firebase deploy config

This commit is contained in:
Jeff Avallone 2019-01-08 17:15:16 -05:00
parent 70b489f2a6
commit 297bb650ac
5 changed files with 1772 additions and 75 deletions

17
.firebaserc Normal file
View File

@ -0,0 +1,17 @@
{
"projects": {
"default": "regexper"
},
"targets": {
"regexper": {
"hosting": {
"production": [
"regexper"
],
"preview": [
"regexper-preview"
]
}
}
}
}

4
.gitignore vendored
View File

@ -24,3 +24,7 @@ public/
# Test coverage # Test coverage
coverage/ coverage/
# Firebase
.firebase/
firebase-debug.log

12
firebase.json Normal file
View File

@ -0,0 +1,12 @@
{
"hosting": [
{
"target": "production",
"public": "public"
},
{
"target": "preview",
"public": "public"
}
]
}

View File

@ -51,7 +51,9 @@
"node_modules" "node_modules"
], ],
"setupTestFrameworkScriptFile": "<rootDir>/jest/setup.js", "setupTestFrameworkScriptFile": "<rootDir>/jest/setup.js",
"snapshotSerializers": ["enzyme-to-json/serializer"], "snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testPathIgnorePatterns": [ "testPathIgnorePatterns": [
"node_modules", "node_modules",
".cache" ".cache"
@ -74,6 +76,7 @@
"eslint": "^5.11.1", "eslint": "^5.11.1",
"eslint-plugin-jest": "^22.1.2", "eslint-plugin-jest": "^22.1.2",
"eslint-plugin-react": "^7.12.1", "eslint-plugin-react": "^7.12.1",
"firebase-tools": "^6.2.2",
"gatsby": "^2.0.81", "gatsby": "^2.0.81",
"gatsby-plugin-google-analytics": "^2.0.8", "gatsby-plugin-google-analytics": "^2.0.8",
"gatsby-plugin-postcss": "^2.0.2", "gatsby-plugin-postcss": "^2.0.2",

1809
yarn.lock

File diff suppressed because it is too large Load Diff