forked from AmruthPillai/Reactive-Resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
124 lines (123 loc) · 3.1 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
require('dotenv').config();
module.exports = {
siteMetadata: {
title: 'Reactive Resume',
siteUrl: 'https://rxresu.me',
description: 'A free and open source resume builder.',
version: '2.1.4',
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-eslint',
options: {
test: /\.js$|\.jsx$/,
exclude: /(node_modules|.cache|public|_this_is_virtual_fs_path_)/,
stages: ['develop'],
options: {
emitWarning: true,
failOnError: false,
},
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Reactive Resume',
short_name: 'Reactive Resume',
start_url: '/',
background_color: '#212121',
icon: `static/images/logo.png`,
orientation: 'landscape',
theme_color: '#212121',
display: 'standalone',
},
},
'gatsby-plugin-remove-serviceworker',
{
resolve: 'gatsby-plugin-prefetch-google-fonts',
options: {
fonts: [
{
family: 'Lato',
variants: ['400', '700'],
},
{
family: 'Montserrat',
variants: ['400', '500', '600', '700'],
},
{
family: 'Nunito',
variants: ['400', '600', '700'],
},
{
family: 'Open Sans',
variants: ['400', '600', '700'],
},
{
family: 'Raleway',
variants: ['400', '500', '700'],
},
{
family: 'Rubik',
variants: ['400', '500', '700'],
},
{
family: 'Source Sans Pro',
variants: ['400', '600', '700'],
},
{
family: 'Titillium Web',
variants: ['400', '600', '700'],
},
],
},
},
{
resolve: 'gatsby-plugin-create-client-paths',
options: { prefixes: ['/app/*'] },
},
{
resolve: 'gatsby-plugin-material-ui',
options: {
stylesProvider: {
injectFirst: true,
},
},
},
'gatsby-plugin-postcss',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'articles',
path: `${__dirname}/src/articles`,
},
},
'gatsby-transformer-remark',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/static/images/`,
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-plugin-firebase',
options: {
credentials: {
apiKey: process.env.FIREBASE_APIKEY,
authDomain: process.env.FIREBASE_AUTHDOMAIN,
databaseURL: process.env.FIREBASE_DATABASEURL,
projectId: process.env.FIREBASE_PROJECTID,
storageBucket: process.env.FIREBASE_STORAGEBUCKET,
messagingSenderId: process.env.FIREBASE_MESSAGINGSENDERID,
appId: process.env.FIREBASE_APPID,
measurementId: process.env.FIREBASE_MEASUREMENTID,
},
},
},
'gatsby-plugin-sitemap',
],
};