Warpokex
August 5, 2019 ยท View on GitHub
Live Demo : Warpokex Live Here deployed in Now.sh
This project was bootstrapped with Create React App.
Prerequisite
- Make sure Node & Yarn or NPM has installed in your local machine.
- You need clone this project
$ git clone git@github.com:ri7nz/Warpokex.git. - Change directory & Install dependencies
$ cd Warpokex && yarn install. - Let's Check the Available Scripts.
Note: I'm using Yarn.
What I use ?
- React.js (bootstrapped by create-react-app)
- PokeDex Graphql by @lucasbento
- Jest (built-in in create-react-app)
- Jest-Each (Tool For Jest & Testing)
- @testing-library/react (For Test React Component)
- @testing-library/jest-dom (Jest Custom Matcher)
- Zeit/now (For Deployment & Service Integration)
- Dependabot (Dependencies secure and up to date)
- CodeCov (Code Coverage & Service Integration)
Available Scripts
In the project directory, you can run:
yarn start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
yarn test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
yarn test:ci
Use for CI like travis for testing and integration with codecov (coverage test).
yarn test:lint
For test format, style & lint code with Eslint.
yarn lint
Running test:lint for fix issue of code.
yarn build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Credits
Warpokex MIT license.