Skip to content

Leonelmarianog/Pokedex

Repository files navigation

Pokedex

License: MIT Codeship Status for Leonelmarianog/Pokedex

A Pokedex using the RESTful API PokéAPI.

See it live! Pokedex.

Installation

npm install # Install required dependencies.

How to run this project

npm run gulp # Run project in production mode.
npm run gulp:dev # Run project in development mode.

Tests

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 to GH-pages with Gulp

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:

  1. 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
  1. Run npm run gulp:deploy.

About

A Pokedex using the RESTful API PokéAPI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published