Skip to content

Commit

Permalink
added firebase hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshmadrecha committed Feb 18, 2021
1 parent 6b1e53f commit 63d6aed
Show file tree
Hide file tree
Showing 3 changed files with 18 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": "madrecha-3a557"
}
}
11 changes: 11 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"hosting": {
"site": "marwaridictionary",
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
"generate": "nuxt generate",
"deploy": "npm run generate && firebase deploy --only hosting:marwaridictionary"
},
"dependencies": {
"@nuxt/content": "^1.11.1",
Expand Down

0 comments on commit 63d6aed

Please sign in to comment.