Based on Gatsby's hello-world starter.
Adds support for:
- eslint using AirBnb's preset
- Jest testing framework
- Testing Library for React
- Emotion for CSS-in-JS
- CircleCI for continuous integration
-
Create a Gatsby site.
Use the Gatsby CLI to create a new site, specifying this starter.
# create a new Gatsby site using this starter gatsby new my-new-site https://github.com/ebello/gatsby-starter-emotion-jest-lint-circleci
-
Start developing.
Navigate into your new site’s directory and start it up.
cd my-new-site/ yarn start
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.Open the
my-new-site
directory in your code editor of choice and editsrc/pages/index.js
. Save your changes and the browser will update in real time!