Yet another starter for Gatsby v2.
This is an opinionated starter: here at Gojob, we ❤️ both TypeScript and Testing.
- Gatsby v2
- TypeScript v3.5
- Material-UI v4
- Jest and react-testing-library
- Cypress and cypress-testing-library
- CI/CD for both GitLab (
.gitlab-ci.yml
) and CircleCI (.circleci/config.yml
)
And we rely on yarn
for managing our packages and starting our scripts 😇.
Clone the repository and then, from the root folder of the project:
yarn install
# check the codebase with `tsc`
yarn tsc:all
# launch both Unit tests and E2E (cypress) tests
yarn test && yarn e2e:ci
# prettify the code
yarn format
# run the code linter (analysis only)
yarn lint
# start the app in dev mode (with watch mode)
yarn start
# build the static project, ready for production
yarn build