cra-template-codinglabs-ts

1.0.5 • Public • Published

Create-react-app Coding Labs Typescript Template

Pre-requisites

You need some VistualStudio Code extensions installed:

  • ESLint
  • Prettier

Also, commitizen is used to standarize commit messages.

Installation

To use this tempalate, you need to install it via cra-create-app:

npx cra-create-app <my-app> --template codinglabs

After initial install, you may need to install the dev dependencies. To do so, run yarn postinstall.

PATH Error

If you encounter a path error when running yarn start, upgrade react-scripts to ^3.4.0.

Available Scripts

Aside from normally installed scripts, there are 2 more:

yarn coverage

Creates test coverage report in __tests__/coverage

yarn lint

Peforms a eslint --fix in staged files

Commit Messages

This template comes with Husky hooks, commitzen and commitlint to produce standard commit messages!

Package Sidebar

Install

npm i cra-template-codinglabs-ts

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

51.9 kB

Total Files

50

Last publish

Collaborators

  • luismramirezr