The purpose of this repository is to provide a component library that is demonstrated through storybook and tested using jest. I have added additional libraries (such as webpack and babel) in case this turns into more than a component library further down the line.
- React β
- ESLint π΅οΈββοΈ
- Webpack π¦
- Babel βοΈ
- Live updating β»οΈ
- Storybook π
- Jest and Enzyme testing π§ͺ
npm run devto run the project atlocalhost:8080npm run lintto lint the project (ESLint config file provided)npm run webpackto build and bundle the project into abuilddirectory (not provided here)npm run storybookto run storybook atlocalhost:6006npm run build-storybookto build a storybook bundlenpm run testto execute all test files using jest
- Clone this repository
- Create a repository in GitHub
- Run
git remote add origin https://github.com/<<github-username>>/<<repo-name>>.git - Run
git push -u origin masterto push to your new repository - Run
npm ito install dependencies - Run
npm run devand you are all set!