This project was developed using NextJs, Typescript and api is available at vavatips-backend.
Access Valorant tips or storybook
- Fully start the backend, available in the vavatips backend repository.
- With the backend working, create an .env file, based on the .env.example file.
Read Contributing.md
# Install full dependencies
yarn
# Ignore storybook dependencies, but resolve in lockfile.
yarn install --ignore-optional
# Run in develop mode
# Open in http://localhost:3000
yarn dev
## Run in production mode
yarn build
yarn start
# Run storybook in localhost:6006
yarn run storybook
# Tests with react testing library and cypress(e2e)
yarn test
yarn cypress
# Tests in watch mode and coverage
yarn test:watch-all
yarn test:watch-all:coverage
# Deploy storybook to github pages
yarn run deploy-storybook-gh-pages
# Check typescript, eslint, unit tests, integration tests, update badges, e2e tests and audit production
yarn dev
yarn check-all
# Prettier fix all
yarn prettier --write .
# Audit dependencies
yarn audit --groups "dependencies"
# Check libs not used
npx depcheck
# Uprade packages
yarn upgrade-interactive --latest
Extension | Description | Author |
---|---|---|
Eslint | For linting code | Microsoft |
Prettier - Code formatter | For beautifully formate code | Prettier |
Prettier Eslint | Integration prettier and eslint | Rebecca Vest |
Stylelint | For lint in styles | Stylelint |
Gitignore | For use .gitignore | CodeZombie |
EditorConfig for VS code | For basics formatter in code | EditorConfig |
Tailwind CSS IntelliSense | For highlight and autocomplete tailwind | Tailwind Labs |
TODO Highlight v2 | For highlight FIXME: and TODO: | Jonathan Clark |