Nextjs - Styled-Components - SWC - Jest | testing-library - Storybook - Github Actions - Eslint - Prettier
These instructions will get you a comfy and solid start for your project.
You will need to have:
npm (Node Package Manager)
How to start your project: Use as a template (recommended) | Download | Pull | Fork this repo.
Then install dependencies.
npm i
Now you have all devDependencies and dependencies the project need.
Put your github account on CODEOWNERS
file inside .github
folder.
You can edit or delete the config of ./.github/workflows
& ./scripts
in case you want your own configuration or you don't want it one.
For development run
npm run dev
For storybook run
npm run storybook
For tests run
npm run test
For eslint remember to modify, delete or add your rules on the package.json
For other util commands to development or production check on the package.json
For this process you need to set 1 environment variable on your repo SECRETS
SURGE_TOKEN
For this you need to have an account on surge.sh and get the variable for there.
Use the surge token
command and login to your account to get the token, then go to your repo > settings > secrets
and create a new secret with the name SURGE_TOKEN
and add your token as value.
You can modify variables, add more, modify the content of the comment on scripts/comment-in-pr.sh
Joaquin | Cristian | Pablo |
---|---|---|