- Next JS
- Tailwind
- Typescript
- graphql-codegen/typescript
- CraftCMS Helpers
- @svgr/webpack
- Hygen generator
- Husky
- Jest
- eslint
- prettier
- stylelint
- Install Docker on your machine.
- Build your container:
docker build -t nextjs-docker .
. - Run your container:
docker run -p 3000:3000 nextjs-docker
.
- To setup the frontend tooling and nextjs run
yarn install
ornpm install
yarn dev
: starts the app package nextjs serveryarn test
: run all of the testsyarn build
: build the next js appyarn start
: start the production siteyarn lint
: lint the frontend codeyarn storybook
: runs the ui package storybook serveryarn release
: tag a release, update changelog
yarn new:component
: create a new componentyarn new:page
: create a new nextjs pageyarn new:context
: create a new context provider
See https://www.graphql-code-generator.com/docs/plugins/typescript-graphql-request for docs