erikkrieg / gatsby-starter-gatsbythemes

Basic gatsby-starter package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gatsby-starter-gatsbythemes

This is a basic starter package for GatsbyJS. I found myself doing the same things over and over again when starting a new gatsby project, hence I figured I should created myself a starter so that I don't have to start from scratch every single time. Maybe this starter can be useful to some of you.

Demo

A preview of the starter can be seen here.

What's included

Currently this starter includes the following:

  • CSS-in-JS via Emotion.
  • Jest and Enzyme for testing.
  • Eslint in dev mode with the airbnb config and prettier formatting rules.
  • React 16.
  • A basic blog, with posts under src/pages/blog. There's also a script which creates a new Blog entry (post.sh).
  • Data per JSON files.
  • A few basic components (Navigation, Footer, Layout).
  • Layout components make use of Styled-System.
  • Google Analytics (you just have to enter your tracking-id).
  • Gatsby-Plugin-Offline which includes Service Workers.
  • Prettier for a uniform codebase.
  • Normalize css (7.0).
  • Feather icons.
  • Font styles taken from Tachyons.

How to use it?

If you have 'gatsby' installed globally, just start a new project with:

gatsby new my-project https://github.com/saschajullmann/gatsby-starter-gatsbythemes

If there is anything else you'd like to see included or changed, just let me know.

About

Basic gatsby-starter package

License:MIT License


Languages

Language:JavaScript 97.6%Language:Shell 2.4%