An open API service indexing awesome lists of open source software.

https://github.com/nirnejak/gatsby-starter

Gatsby Starter
https://github.com/nirnejak/gatsby-starter

analytics bem eslint gatsby gatsbyjs precommit prettier starter starter-template

Last synced: 25 days ago
JSON representation

Gatsby Starter

Awesome Lists containing this project

README

          


Nirnejak's Gatsby Starter

## About

This Gatsby Started comes pre configured with PWA, Google Analytics, Image Transform, Sass and PostCSS and some SEO plugins. To improve the code quality and developer experience it also ships with ESLint, Prettier and Pre-commit setup out of the box.

## Uses

- [Gatsby](https://www.gatsbyjs.org/)
- [PWA](https://developers.google.com/web/progressive-web-apps/)
- [Sass](https://sass-lang.com/)
- [PostCSS](https://postcss.org/)
- [ESLint](https://eslint.org/)
- [Prettier](https://prettier.io/)
- [Pre-commit](https://pre-commit.com/)
- [BEM](http://getbem.com/)

## 🚀 Quick start

1. **Clone the repo.**

Use the Gatsby CLI to create a new site, specifying this repo.

```sh
# create a new Gatsby site using the default starter
gatsby new site-folder-name https://github.com/nirnejak/gatsby-starter
```

2. **Available Scripts**

```sh
npm start
```

```sh
npm run prepare
```

```sh
npm run build
```

```sh
npm run clean
```

```sh
npm run format
```

```sh
npm run lint
```

```sh
npm run lint-fix
```