-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
56 lines (55 loc) · 3.56 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
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
// You can call in the info in siteMetadata like this: {data.site.siteMetadata.title}
// and include it wherever you want, which is great for consistency. You can also put
// other things in here.
siteMetadata: {
title: `Coolest cities (Gatsby test)`
},
// This is where/how plugins get included! There are a ton! https://www.gatsbyjs.org/plugins/
// For some, you only have to include them here. For others, you may need to run something
// like `npm install <plugin>` as well.
plugins: [
// SASS plugin
{ resolve: `gatsby-plugin-sass` },
// Google Spreadsheet plugin
{
resolve: 'gatsby-source-google-spreadsheet',
options: {
/// TODO ///
// Find a better way to include credentials without literally displaying in the config.
credentials: {
client_email: "gatsby-spreadsheet@gatsby-2019.iam.gserviceaccount.com",
private_key: "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCuT6NTCf5cILhY\nQrqiah7ukgW1yzOR2brT2V1jiux77q22ljeB2XcnVivg97MWLKpPbghvV+zd7QLi\n4WQZL0f7x5W0yTs8CU6cyVNn/dWewEyWQbKifxWoJZiOhxw7cLIoZkY0Vtz9WQy3\nt0rvwMrkRpvA8dSVtgfOr2uSIAxA5vqsvl9VkT+WFy3bU1oKdUcUWGqhB2kg9wJh\nXLFdfGewt1xezEiFom2WTHx1lltQ5NURJALzo9GfelMfeBR2BPlRdrDp+vpPT1V4\nv90JO7V7yaJm5LeyOX1eKmcrQRw/gKnA9XYifdKl00sTIM4p3Rl6mJZe1iPkWVNj\nWGhW+zzZAgMBAAECggEABO85tSXVBsghV9RJwsPEzOWi1j7inpgejxU57NG3uJls\n3vyZJSqiEi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HPrTTZ58TAf8VfI1T01rqY2LPXYsgxfU6ut\nbJrxof0hp00dDKldxFOl5QbvoXhF7T3Bq5RK9uFpxSOpaXvKIMjmYmACgeP1XNNq\n4ThWdWJOMDXLaJN2Mj8n3kih\n-----END PRIVATE KEY-----\n"
},
// Spreadsheet is here: https://docs.google.com/spreadsheets/d/1Zik8-M_A7x0FWJ8Vo17wTbcJWSy03waikhtabgfM8jY/edit#gid=838227793
spreadsheetId: '1Zik8-M_A7x0FWJ8Vo17wTbcJWSy03waikhtabgfM8jY',
typePrefix: 'GoogleSpreadsheet',
spreadsheetName: 'Sheet'
}
},
// Filesystem data plugin
// I don't toooootally understand this one tbh.
// https://www.gatsbyjs.org/packages/gatsby-source-filesystem/
{
resolve: `gatsby-source-filesystem`,
options: {
name: `src`,
path: `${__dirname}/src/`
}
},
// S3 plugin
{
resolve: `gatsby-plugin-s3`,
options: {
pathPrefix: `/gatsby.chicagotribune.com`,
bucketName: 'gatsby-test-nausheen2',
acl: null
}
}
]
}