verdaccio/website/gatsby-config.js

62 lines
1.5 KiB
JavaScript

const path = require('path');
module.exports = {
siteMetadata: {
author: 'Juan Picado <jotadeveloper@gmail.com>',
desc: 'A lightweight open source private npm proxy registry',
siteName: 'Verdaccio',
title: 'A lightweight open source private npm proxy registry',
url: 'https://verdaccio.org',
},
plugins: [
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-plugin-material-ui',
options: {
stylesProvider: {
injectFirst: true,
},
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `pages`,
path: `${__dirname}/docs`,
},
},
`gatsby-transformer-remark`,
{
resolve: `gatsby-source-filesystem`,
options: {
name: `translations`,
path: `${__dirname}/crowdin`,
},
},
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'gatsby-starter-material-emotion',
short_name: 'starter',
start_url: '/',
background_color: '#000',
theme_color: '#fff',
display: 'minimal-ui',
icon: path.join(__dirname, 'src/images/gatsby-icon.png'), // This path is relative to the root of the site.
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: path.join(__dirname, 'src/images'),
},
},
'gatsby-plugin-twitter',
'gatsby-plugin-emotion',
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
'gatsby-plugin-typescript',
],
};