- TailwindCSS
- Jest (React testing library)
- Husky (pre commit)
- ESLint & Prettier
- Typescript
- Next Auth
- Install dependencies
yarn
- Get dev site up and running locally
yarn dev
Testing is done using the Jest framework and React Testing Library
There are several scripts and pre-scripts:
# basic test script
"test": "jest --silent --runInBand --watchAll=false",
# run in watch mode to save manually restarting tests
"test:watch": "jest --runInBand --watchAll",
# single run with coverage
"test:coverage": "yarn jest --coverage ",
# use this when committing instead of git commit -m '' - it enforces solid git commit messages making it easier to see past work
"commit-cli": "git-cz"
Husky is also implemented to run linting before committing and testing before pushing
This template also includes the release process, using semantic-release
. On push
events to main
via pull requests, the package gets triggered, generating release notes and bumping the version in package.json
.
Pulled together from previous client projects.
Tue Sept 20 - 2 hours Wed Sept 21 - 2.5 hours Thurs Sept 22 - 1.5 hours Fri Sept 23 - 2 hours Sat Sept 24 - 2.5 hours
Mon Sept 26 - 2.5 hours
Tues Sept 27 - 2 hours
Wed Sept 29 - 3.5 hours
Thurs Sept 30 - 1.5 hours
Sat Oct 1 - 3.5 hours
Sun & Mon Oct 2 & 3 - 1 hour
Wed & Thurs Oct 5 & 6 - 2 hours
25.5 hours
To add items to services, you will need to add them into the services1
or services2
array and have them correspond to the new locales / copies