Skip to content

Commit

Permalink
Added the deploy script and got firebase set up ready to deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patchrik committed Mar 19, 2021
1 parent 4394e82 commit 2fcb255
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "where-to-vue"
}
}
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"
}
]
}
}
3 changes: 2 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": "run npm build && firebase deploy"
},
"dependencies": {
"core-js": "^3.6.5",
Expand Down

0 comments on commit 2fcb255

Please sign in to comment.