@philholden/component-boilerplate
v1.2.0
Published
A new Webpack boilerplate with hot reloading React components, and error handling on module and component level.
Downloads
2
Maintainers
Readme
Component Boilerplate
This is a hybrid of React Transform Boilerplate and Kent C Dodds' How to Write an Open Source JavaScript Library. It has the following features:
- Babel 6 hot loading
- Testing via AVA
- Null loaders to allow unit testing where components use loaders for CSS or images
- WebSockets via Socket.IO set up on server (delete if not needed)
- All the semantic release, code coverage etc from Kent C Dodds
Installation
git clone https://github.com/philholden/component-boilerplate.git
cd component-boilerplate
npm install
npm start
open http://localhost:3000
When setting up a new repo
semantic-release-cli setup
License
CC0 (public domain)