A Pokedex using the RESTful API PokéAPI.
See it live! Pokedex.
npm install # Install required dependencies.
npm run gulp # Run project in production mode.
npm run gulp:dev # Run project in development mode.
This project uses Cypress for E2E testing and Jest for Unit Tests.
Important: Remember to create a build before running UI test! npm run gulp:build
.
npm run test:dev # Run Jest Unit Tests
npm run test # Get Jest code coverage
npm run test:ui # Run UI tests (headless)
npm run test:ui:dev # Run UI tests
Deployment is made using gulp-gh-pages. Check the documentation to see how to add a custom commit message and specify the folder you want to deploy to gh-pages.
Steps:
- Create a gh-pages branch
git checkout --orphan gh-pages
git rm -rf .
touch README.md
git add README.md
git commit -m "Init gh-pages"
git push --set-upstream origin gh-pages
git checkout master
- Run
npm run gulp:deploy
.