@bence.a.toth/cra-template

A rich template for Create React App.

Usage no npm install needed!

<script type="module">
  import benceATothCraTemplate from 'https://cdn.skypack.dev/@bence.a.toth/cra-template';
</script>

README

@bence.a.toth/cra-template

This is a rich template for Create React App.

Quick start

npx create-react-app my-app --template @bence.a.toth/cra-template

cd my-app

npm start

For more info, please check the Create React App documentation.

What’s included?

  • everything you have in the default template, with a somewhat nicer folder structure

  • HTTPS enabled in development mode by default

  • handy React utilities like PropTypes and Classnames

  • Cypress for integration and functional tests

  • Majestic, a beautiful browser-based UI for Jest

  • ESLint and StyleLint configured for code consistency and many good practices

  • Alex to catch insensitive, inconsiderate writing in your documentation

  • hassle-free interactive updates for dependencies via npm-check

A note on development dependencies

Create React App templates do not support adding development dependencies at the time of writing, so all dependencies are added under the dependencies key in the package.json file.

It is not necessary, but if you prefer, you can move the following dependencies from dependences to devDependencies manually:

  • @bence.a.toth/eslint-config
  • alex
  • cypress
  • eslint
  • majestic
  • npm-check
  • stylelint
  • stylelint-config-standard

Contributing

If something doesn’t work, please file an issue.

If you have questions, need help, or would like to contribute, please reach out at tothab@gmail.com.

License

MIT