-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
60 lines (59 loc) · 1.81 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
const firebaseCreds = {
apiKey: `AIzaSyBbVfTBkaDSsGOskoV1wHcFNHcR_kk_1K8`,
authDomain: `game-deals-bb2bc.firebaseapp.com`,
databaseURL: `https://game-deals-bb2bc.firebaseio.com`,
projectId: `game-deals-bb2bc`,
storageBucket: `game-deals-bb2bc.appspot.com`,
messagingSenderId: `479706586867`,
appId: `1:479706586867:web:a94fb444712cfbde27a186`,
measurementId: `G-9ZM2TP0T1D`,
};
module.exports = {
siteMetadata: {
title: `Olly G's Game Deals`,
description: `Find all the best game deals here, brought to you by the one and only Olly G.`,
author: `Rudhra Raveendran and Noah Huppert`,
emulateFirebase: process.env.EMULATE_FIREBASE === "true",
fakeNoFCM: process.env.FAKE_NO_FCM === "true",
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sass`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Olly G's Game Deals`,
short_name: `Game Deals`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/icon.png`, // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-plugin-firebase`,
options: {
credentials: firebaseCreds,
},
},
`gatsby-plugin-offline`, // Should be after gatsby-plugin-manifest
{
resolve: `gatsby-plugin-firebase-messaging`,
options: {
config: firebaseCreds,
disableDevelopment: false, //disables development service worker
removeFirebaseServiceWorker: false, //tells plugin to help unregistering/removing
},
},
],
};