This project was bootstrapped with Create React App.
A code challenge.
- Using create-react-app was a requirement of the project. I prefer using my own webpack config that I have maintained and adapt over the past few years.
yarn installTesting requires watchman (at least on a Mac...)
brew install watchmanIn the project directory, you can run:
yarn startRuns 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 testLaunches the test runner in the interactive watch mode.
yarn run storybookRuns the storybook
Open http://localhost:9001 to view it in the browser.
The page will reload if you make edits.
yarn run coverageOutputs the test coverage map for the component library.
yarn run buildBuilds 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!