0.2.0 • Published 4 years ago

@zhouzi/cra-template v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@zhouzi/cra-template

This Create React App template is based on the official TypeScript's template.

To use this template, add --template @zhouzi when creating a new app.

For example:

npx create-react-app my-app --template @zhouzi

# or

yarn create react-app my-app --template @zhouzi

Additional Features

Below is a list of features this package adds on top of the official TypeScript template.

  • Structures the folders according to my personal preferences.
  • Adds styled-components.
    • Converts theme variables to CSS variables.
  • Adds modern-normalize.css.
  • Adds a default README.md.
  • Adds a CONTRIBUTING.md.
  • Adds a CODE_OF_CONDUCT.md.
  • Adds an MIT LICENSE.
  • Configures TypeScript's baseUrl to src.
  • Configures Netlify's redirects so all URLs respond with index.html.