Skip to content

Commit

Permalink
add firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
odanado committed Jan 12, 2019
1 parent 255c51f commit a2c100a
Show file tree
Hide file tree
Showing 5 changed files with 1,788 additions and 61 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"prod": "ghkw-web"
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ yarn-error.log*
*.njsproj
*.sln
*.sw*

.firebase
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"deploy": "yarn firebase deploy"
},
"dependencies": {
"register-service-worker": "^1.5.2",
Expand All @@ -23,6 +24,7 @@
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0-0",
"firebase-tools": "^6.2.2",
"node-sass": "^4.9.0",
"sass-loader": "^7.0.1",
"typescript": "^3.0.0",
Expand Down
Loading

0 comments on commit a2c100a

Please sign in to comment.