diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..02e4624 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "madrecha-3a557" + } +} diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..f1a22b8 --- /dev/null +++ b/firebase.json @@ -0,0 +1,11 @@ +{ + "hosting": { + "site": "marwaridictionary", + "public": "dist", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ] + } +} diff --git a/package.json b/package.json index cda6da0..aa68014 100644 --- a/package.json +++ b/package.json @@ -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",