Skip to content

antoinerousseau/gatsby-starter-antoine

Repository files navigation

gatsby-starter-antoine

My opinionated Gatsby.js starter template.

It starts from the default Gatsby starter, and adds:

Requirements

Usage

gatsby new [name] https://github.com/antoinerousseau/gatsby-starter-antoine
cd [name]
cp {example,}.env

And configure your site infos in package.json and src/gatsby/config.ts.

Commands

  • yarn develop: start development mode
  • yarn lint: check linting (Eslint + Prettier)
  • yarn build: make production bundle
  • yarn serve: locally serve production bundle

Netlify

If you use Netlify, you can also directly have a TypeScript-ready setup, including Netlify functions (lambdas), by using the netlify branch, e.g.:

gatsby new [name] https://github.com/antoinerousseau/gatsby-starter-antoine#netlify