cf-react-component-template

React component template scaffold

Usage no npm install needed!

<script type="module">
  import cfReactComponentTemplate from 'https://cdn.skypack.dev/cf-react-component-template';
</script>

README

cf-react-component-template npm

Gitter

CircleCI Coverage Dependencies Dev Dependencies

React component template scaffold

What does this do?

It scaffolds a new module with the following features:

  • ES6 with Babel
  • Lint with ESLint
  • Tape tests with coverage report
  • Ensure dependencies are properly declared in package.json
  • Git precommit hook enforces quality checks on commit
  • CI config (CircleCI)

Getting Started

npm install -g cf-react-component-template
mkdir project
cd project
cf-react-component-template
npm install
npm test