1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/website/gatsby-config.js
Juan Picado d460a2c5da chore: prepare website for development (#1935)
* chore: fix missing dependencies

* clean index page and sidebar

* improve layout for doc page

* format

* basic layout

* Update what-is-verdaccio.md

* check format
2021-04-09 17:54:20 +02:00

80 lines
1.9 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`,
plugins: [
{
resolve: `gatsby-remark-prismjs`,
},
],
},
},
{
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-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
},
],
},
},
'gatsby-plugin-typescript',
],
};