In the project's root directory, you can run:
- Make sure yarn is installed in your local machine.
- Clone this project and run
yarnin the project's root directory.
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.
Launches Storybook for isolated component rendering. Try it yourself! You will be amazed!
Just run it when you want to develop your components in isolation, so you can have a full control over the props and get immediate result of the components' rendering and action calls.
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.
Builds the Storybook into a standalone application in the storybook-static folder.
Serves the built assets from the yarn:build command above.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Generates the tests coverage in the project.
After running it, open the index.html file under the coverage/lcov-report/ folder to see the visual representation of the code coverage.
Builds the app, serves it, then run Cypress for end-to-end testing with the Headless Chrome.
Start the app in development mode,then run Cypress for end-to-end testing with the Chrome Browser. You can use it to get to certain states in the application, as a substitution for the absence of Hot Module Reloading in Create React App.
Runs test:coverage and test:e2e:run in parallel to validate the project's correctness in the Continuous Integration process.
Manually triggers Prettier format towards all js, json, & css files.
By default it has to be run automatically on save in your IDE (for Visual Studio Code users, the configurations are already included in this project).
It also will be run each time before you commit (pre-commit hook). This way, we can prevent unformatted file to be committed to the repository.
See the CONTRIBUTING file for guidance in contributing to this project.
See the LICENSE file for license rights and limitations (MIT).