{"size": 3104, "ext": "js", "max_stars_repo_path": "gatsby-config.js", "max_stars_repo_name": "jameskolean/gatsby-jameskolean-tech", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "gatsby-config.js", "max_issues_repo_name": "jameskolean/gatsby-jameskolean-tech", "max_issues_repo_issues_event_min_datetime": "2020-04-15T11:23:09.000Z", "max_issues_repo_issues_event_max_datetime": "2020-05-20T19:33:58.000Z", "max_forks_repo_path": "gatsby-config.js", "max_forks_repo_name": "jameskolean/gatsby-jameskolean-tech", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 8, "max_forks_count": null, "avg_line_length": 24.25, "max_line_length": 66, "alphanum_fraction": 0.5306056701}
/**
 * Configure your Gatsby site with this file.
 *
 * See: https://www.gatsbyjs.org/docs/gatsby-config/
 */
const path = require(`path`)
const { createProxyMiddleware } = require('http-proxy-middleware')

var netlifyCmsPaths = {
  resolve: `gatsby-plugin-netlify-cms-paths`,
  options: {
    cmsConfig: `/static/admin/config.yml`,
  },
}

module.exports = {
  /* Your site config here */
  siteMetadata: {
    title: `Digital Garden cultivated by James Kolean`,
    description: `Development playground by James Kolean`,
    siteUrl: `https://jameskolean.tech/`,
    home: {
      title: `Digital Garden`,
      description: `My place for Demo Applications and Posts.`,
    },
  },
  plugins: [
    netlifyCmsPaths,
    'gatsby-plugin-sass',
    'gatsby-plugin-emotion',
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `assets`,
        path: `${__dirname}/static/assets`,
      },
    },
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `markdown-pages`,
        path: `${__dirname}/_data`,
      },
    },
    `gatsby-plugin-sharp`,
    `gatsby-transformer-sharp`,
    {
      resolve: `gatsby-plugin-disqus`,
      options: {
        shortname: `jameskolean-tech`,
      },
    },
    {
      resolve: `gatsby-transformer-remark`,
      options: {
        plugins: [
          netlifyCmsPaths,
          {
            resolve: 'gatsby-remark-code-buttons',
            options: {
              tooltipText: `Copy Code to Clipboard`,
              toasterText: 'Copied to Clipboard',
            },
          },
          `gatsby-remark-images`,
          'gatsby-remark-emojis',
          //  `gatsby-remark-vscode`,
          {
            resolve: `gatsby-remark-prismjs`,
            options: {
              classPrefix: 'language-',
              inlineCodeMarker: null,
              aliases: {},
              showLineNumbers: false,
              noInlineHighlight: true,
            },
          },
        ],
      },
    },
    `gatsby-plugin-sass`,
    `gatsby-plugin-react-helmet`,
    `gatsby-plugin-netlify-cms`,
    'gatsby-plugin-robots-txt',
    `gatsby-plugin-sitemap`,
    {
      resolve: `gatsby-plugin-manifest`,
      options: {
        name: `Dev Notes`,
        short_name: `Dev Notes`,
        start_url: `/`,
        background_color: `#ffffff`,
        theme_color: `#a4de02`,
        display: `standalone`,
        icon: `src/images/icon.png`,
      },
    },
    {
      resolve: `gatsby-plugin-offline`,
      options: {
        precachePages: [`/todos/`, `/posts/`, `/posts/*`],
      },
    },
    {
      resolve: 'gatsby-plugin-netlify-cache',
      options: {
        cachePublic: true,
      },
    },
    {
      resolve: 'gatsby-plugin-webpack-bundle-analyser-v2',
      options: {
        analyzerMode: 'static',
        reportFilename: 'webpack.html',
      },
    },
  ],
  developMiddleware: (app) => {
    app.use(
      '/.netlify/functions/',
      createProxyMiddleware({
        target: 'http://localhost:9000',
        pathRewrite: { '/.netlify/functions/': '' },
      })
    )
  },
}
