0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/website/gatsby-config.js
Juan Picado 3ad519f0c2 chore: website scaffolding (#1843)
* chore: upload gatsby website

* chore: update header

* chore: add background header

* chore: add ci for website

* Update ci-website.yml

* chore: update patch mach ci

* chore: update ci settings

* chore: update docker version
2021-04-09 17:54:10 +02:00

61 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',
],
};