{"size": 1023, "ext": "js", "max_stars_repo_path": "web/gatsby-config.js", "max_stars_repo_name": "tsimons/metro-pest", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "web/gatsby-config.js", "max_issues_repo_name": "tsimons/metro-pest", "max_issues_repo_issues_event_min_datetime": "2019-10-30T08:18:26.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-25T23:19:28.000Z", "max_forks_repo_path": "web/gatsby-config.js", "max_forks_repo_name": "tsimons/metro-pest", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 34, "max_forks_count": null, "avg_line_length": 23.7906976744, "max_line_length": 98, "alphanum_fraction": 0.5718475073}
const {
  api: { projectId, dataset }
} = require('../studio/sanity.json')

require('dotenv').config()

module.exports = {
  siteMetadata: {
    siteUrl: `https://www.metro-pest.com`,
  },
  plugins: [
    {
      resolve: 'gatsby-plugin-sitemap',
      options: {
        output: '/sitemap.xml'
      }
    },
    'gatsby-plugin-postcss',
    'gatsby-plugin-react-helmet',
    {
      resolve: 'gatsby-source-sanity',
      options: {
        projectId,
        dataset,
        // To enable preview of drafts, copy .env-example into .env,
        // and add a token with read permissions
        token: process.env.SANITY_TOKEN,
        watchMode: true,
        overlayDrafts: true
      }
    },
    {
      resolve: `gatsby-plugin-google-analytics`,
      options: {
        // The property ID; the tracking code won't be generated without it
        trackingId: 'UA-49583975-1',
        // Defines where to place the tracking script - `true` in the head and `false` in the body
        head: false
      }
    }
  ]
}
