1.0.0-alpha.6 • Published 3 years ago

@hcikit/cra-template-typescript v1.0.0-alpha.6

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

HCI Kit CRA Template

This is a package containing files to create a new HCI Kit project. The best way to use this template is by running:

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

Developing / Contributing

Checkout the documentation on CRA templates.

The command above is magic for:

npx create-react-app my-app --template @hcikit/cra-template

You can test this template locally by running:

npx create-react-app my-app --template file:../path/to/your/template/cra-template-

The template does two important things

  1. It installs required packages like @hcikit/react, @material-ui, and any other packages we deem to be required.
  2. It creates a starter project and experiment that can be used to start using HCI Kit.

We typically just copy and paste the files from CRA. The default template is at https://github.com/facebook/create-react-app/tree/master/packages/cra-template

And then we do the same with the src files from the example in HCI Kit. This means that the files are likely to be tested and working.

  • TODO: Need to document what each file does.
  • TODO: Need to add a favicon.