Travis build: 407

This commit is contained in:
30secondsofcode
2019-08-26 10:03:49 +00:00
parent 2776b342dd
commit 983bc086c1
57 changed files with 376 additions and 873 deletions

View File

@ -1,11 +1,11 @@
const config = require('./config');
const config = require('./config')
module.exports = {
siteMetadata: {
title: `${config.name}`,
description: `${config.description}`,
author: `@30-seconds`,
siteUrl: `${config.siteUrl}`,
siteUrl: `${config.siteUrl}`
},
plugins: [
`gatsby-plugin-sitemap`,
@ -14,28 +14,28 @@ module.exports = {
resolve: `gatsby-source-filesystem`,
options: {
name: `snippets`,
path: `${__dirname}/${config.snippetPath}`,
},
path: `${__dirname}/${config.snippetPath}`
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `snippet_data`,
path: `${__dirname}/${config.snippetDataPath}`,
},
path: `${__dirname}/${config.snippetDataPath}`
}
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `assets`,
path: `${__dirname}/${config.assetPath}`,
},
path: `${__dirname}/${config.assetPath}`
}
},
{
resolve: `gatsby-plugin-page-creator`,
options: {
path: `${__dirname}/${config.pagePath}`,
},
path: `${__dirname}/${config.pagePath}`
}
},
{
resolve: `gatsby-transformer-remark`,
@ -44,13 +44,13 @@ module.exports = {
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
maxWidth: 590
}
},
`gatsby-remark-prismjs`,
`gatsby-remark-copy-linked-files`,
],
},
`gatsby-remark-copy-linked-files`
]
}
},
`gatsby-plugin-sass`,
`gatsby-transformer-json`,
@ -62,8 +62,8 @@ module.exports = {
trackingId: `UA-117141635-1`,
anonymize: true, // Always set this to true, try to comply with GDPR out of the box
respectDNT: true, // Always set to true, be respectful of people who ask not to be tracked
cookieExpires: 0, // Always set to 0, minimum tracking for your users
},
cookieExpires: 0 // Always set to 0, minimum tracking for your users
}
},
{
resolve: `gatsby-plugin-manifest`,
@ -74,11 +74,11 @@ module.exports = {
background_color: `#1e253d`,
theme_color: `#1e253d`,
display: `standalone`,
icon: `assets/30s-icon.png`, // This path is relative to the root of the site.
},
icon: `assets/30s-icon.png` // This path is relative to the root of the site.
}
},
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify`,
],
};
`gatsby-plugin-netlify`
]
}