This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
gatsby-config.js
130 lines (129 loc) · 3.29 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
const siteTitle = "Litmus - Chaos Engineering for Kubernetes";
const siteDescription =
"Chaos Engineering redefined: LitmusChaos is an open source cloud-native Chaos Engineering framework which helps orchestrate chaos on Kubernetes platforms.";
const siteAuthor = "@litmuschaos";
const siteUrl = "https://litmuschaos.io";
const siteImage = `${siteUrl}/icons/siteImage.png`;
const siteKeywords = [
"chaos engineering",
"Litmus Chaos",
"litmus",
"devOps",
"SRE",
"Cloud-Native",
"CNCF",
"mayadata",
"openebs",
"Kubernetes",
"Docker",
"containerized",
"dataMonitoring",
"DataStorage",
"workload",
"deployment",
"ci/cd",
"cd",
"ci",
"DataAgility",
"multicloud",
];
module.exports = {
siteMetadata: {
siteTitle,
siteDescription,
siteAuthor,
siteUrl,
siteKeywords,
siteImage,
},
plugins: [
{
resolve: `gatsby-plugin-google-analytics`,
options: {
// The property ID; the tracking code won't be generated without it
trackingId: "UA-92076314-26",
// Defines where to place the tracking script - `true` in the head and `false` in the body
head: true,
// The IP anonymization feature in Google Analytics anonymizes the last digits of the user's IP (optional)
anonymize: true,
// Defers execution of google analytics script after page load
defer: true,
},
},
{
resolve: "gatsby-plugin-google-tagmanager",
options: {
id: "UA-92076314-26",
includeInDevelopment: false,
defaultDataLayer: { platform: "gatsby" },
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/images`,
name: "images",
},
},
{
resolve: "gatsby-plugin-react-axe",
options: {
showInProduction: false,
// Options to pass to axe-core.
// See: https://github.com/dequelabs/axe-core/blob/master/doc/API.md#api-name-axeconfigure
axeOptions: {
// Your axe-core options.
},
},
},
`gatsby-plugin-styled-components`,
`gatsby-plugin-image`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
"gatsby-plugin-react-helmet",
`gatsby-plugin-typescript`,
`gatsby-plugin-sitemap`,
{
resolve: "gatsby-plugin-robots-txt",
options: {
host: siteUrl,
sitemap: `${siteUrl}/sitemap.xml`,
resolveEnv: () => process.env.GATSBY_ENV,
env: {
development: {
policy: [{ userAgent: "*", allow: ["/"] }],
},
production: {
policy: [{ userAgent: "*", allow: "/" }],
},
},
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: siteTitle,
short_name: siteTitle,
description: siteDescription,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: "src/images/icon.png",
icons: [
{
src: "icons/icon_512x512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "icons/icon_192x192.png",
sizes: "192x192",
type: "image/png",
},
],
},
},
`gatsby-plugin-offline`,
],
};