@zhouzi/cra-template

0.2.0 • Public • Published

@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.

Package Sidebar

Install

npm i @zhouzi/cra-template

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

43.3 kB

Total Files

28

Last publish

Collaborators

  • gabinzhouzi